From 4b3d062b2e93c141ecbec55f8c249cc983d484c1 Mon Sep 17 00:00:00 2001 From: Mike Pitre Date: Mon, 23 Sep 2024 15:35:14 -0400 Subject: [PATCH] remove presentation delay --- .../UI/Components/User/UserButton/UserButtonPopover.swift | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Sources/UI/Components/User/UserButton/UserButtonPopover.swift b/Sources/UI/Components/User/UserButton/UserButtonPopover.swift index 5826e30f..f781c680 100644 --- a/Sources/UI/Components/User/UserButton/UserButtonPopover.swift +++ b/Sources/UI/Components/User/UserButton/UserButtonPopover.swift @@ -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")