Skip to content

Commit

Permalink
fix: more TS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispader committed Jun 4, 2024
1 parent 7b71d22 commit 475efac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SignInButtons/AppleSignIn/index.android.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function appleSignInRequest(): Promise<string | undefined> {
function AppleSignIn() {
const handleSignIn = () => {
appleSignInRequest()
.then((token) => Session.beginAppleSignIn(token))
.then((token) => Session.beginAppleSignIn(token ?? null))
.catch((error: Record<string, unknown>) => {
if (error.message === appleAuthAndroid.Error.SIGNIN_CANCELLED) {
return null;
Expand Down

0 comments on commit 475efac

Please sign in to comment.