Skip to content

Commit

Permalink
enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
OkelloSam21 committed Apr 19, 2024
1 parent 1667a5d commit 23d2137
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ import androidx.hilt.navigation.compose.hiltViewModel
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta.composedestinations.navigation.DestinationsNavigator
import com.samuelokello.kazihub.R
import com.samuelokello.kazihub.presentation.shared.authentication.common.HandleError
import com.samuelokello.kazihub.presentation.shared.authentication.common.HandleLoading
import com.samuelokello.kazihub.presentation.shared.authentication.common.HandleSuccess
import com.samuelokello.kazihub.presentation.common.HandleError
import com.samuelokello.kazihub.presentation.common.HandleLoading
import com.samuelokello.kazihub.presentation.common.HandleSuccess
import com.samuelokello.kazihub.presentation.shared.authentication.sign_up.SignUpEvent
import com.samuelokello.kazihub.presentation.shared.authentication.sign_up.SignUpState
import com.samuelokello.kazihub.presentation.shared.authentication.sign_up.SignUpViewModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package com.samuelokello.kazihub.presentation.shared.authentication.sign_up

import com.samuelokello.kazihub.presentation.shared.authentication.common.AuthState
import com.samuelokello.kazihub.presentation.common.AuthState

data class SignUpState (
// val isSignUpSuccessful: Boolean = false,
val signUpError: String? = null,
val signUpSuccess: Boolean = false,
val userName: String = "",
val firstName: String = "",
val lastName: String = "",
val role: String = "",
val password: String = "",
val navigateToHome: Boolean = false,
override val isLoading: Boolean = false,
Expand Down

0 comments on commit 23d2137

Please sign in to comment.