Skip to content

Commit 764e042

Browse files
authored
Update docs/auth/social-auth.mdx
1 parent 9ad0a60 commit 764e042

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/auth/social-auth.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ async function onGoogleButtonPress() {
280280
throw new Error('Google Sign-In was cancelled or failed');
281281
}
282282

283-
const { idToken } = response.data;
283+
const idToken = response.data?.idToken;
284284
if (!idToken) {
285285
throw new Error('No ID token found');
286286
}

0 commit comments

Comments
 (0)