Skip to content

Commit

Permalink
Edit LoginView
Browse files Browse the repository at this point in the history
  • Loading branch information
wnghks114 committed Dec 15, 2024
1 parent 09c2c10 commit 97c3ddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UMAI_FRONT/UMai/Login/LoginView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ struct LoginView: View {
@State private var showSignUpView = false
@State private var showAlert = false
@State private var alertMessage = ""
@State private var userFoodType: String = ""
@StateObject private var userViewModel = UserViewModel()

var body: some View {
Expand Down Expand Up @@ -113,7 +114,7 @@ struct LoginView: View {
ContentView()
}
.fullScreenCover(isPresented: $showSignUpView) {
MatBtiResultView()
SignupView(matBTI: $userFoodType)

}
.alert("Error", isPresented: $showAlert) {
Expand Down

0 comments on commit 97c3ddc

Please sign in to comment.