diff --git a/src/fragments/lib/auth/ios/signin_web_ui/30_signin.mdx b/src/fragments/lib/auth/ios/signin_web_ui/30_signin.mdx index 9725f900e98..837a550ed5c 100644 --- a/src/fragments/lib/auth/ios/signin_web_ui/30_signin.mdx +++ b/src/fragments/lib/auth/ios/signin_web_ui/30_signin.mdx @@ -7,7 +7,7 @@ Sweet! You're now ready to launch sign in with web UI. The `signInWithWebUI` api ```swift func signInWithWebUI() async { do { - let signInResult = Amplify.Auth.signInWithWebUI(presentationAnchor: self.view.window!) + let signInResult = try await Amplify.Auth.signInWithWebUI(presentationAnchor: self.view.window!) if signInResult.isSignedIn { print("Sign in succeeded") }