Skip to content

Commit

Permalink
Remove home address field
Browse files Browse the repository at this point in the history
  • Loading branch information
Puvikaran2001 committed May 10, 2024
1 parent 2157b86 commit 972a634
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ fun SignUpPage(
var password by remember {
mutableStateOf("")
}
var homeAddress by remember {
mutableStateOf("")
}
var isSignUpFailed by remember {
mutableStateOf(false)
}
Expand Down Expand Up @@ -82,18 +79,6 @@ fun SignUpPage(
isError = isSignUpFailed,
)

Spacer(modifier = Modifier.height(20.dp))

StandardTextField(
label = "Home Address",
value = homeAddress,
onValueChange = {
homeAddress = it
if (isSignUpFailed) isSignUpFailed = false
},
isError = isSignUpFailed,
)

if (isSignUpFailed) {
Spacer(modifier = Modifier.height(20.dp))
Text(
Expand Down

0 comments on commit 972a634

Please sign in to comment.