Skip to content

Commit

Permalink
remove presentation delay
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepitre committed Sep 23, 2024
1 parent c32d5e0 commit 4b3d062
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Sources/UI/Components/User/UserButton/UserButtonPopover.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,8 @@ struct UserButtonPopover: View {
}

Button {
Task {
dismiss()
try? await Task.sleep(for: .seconds(0.5))
clerkUIState.presentedAuthStep = .signInStart
}
dismiss()
clerkUIState.presentedAuthStep = .signInStart
} label: {
HStack(spacing: 16) {
Image(systemName: "plus")
Expand Down

0 comments on commit 4b3d062

Please sign in to comment.