mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
docs(auth): fix syntax error in examples (#3442)
This commit is contained in:
@@ -42,7 +42,7 @@ function AppleSignIn() {
|
||||
width: 160,
|
||||
height: 45,
|
||||
}}
|
||||
onPress={() => onAppleButtonPress().then(() => console.log('Apple sign-in complete!')}
|
||||
onPress={() => onAppleButtonPress().then(() => console.log('Apple sign-in complete!'))}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -104,7 +104,7 @@ function FacebookSignIn() {
|
||||
return (
|
||||
<Button
|
||||
title="Facebook Sign-In"
|
||||
onPress={() => onFacebookButtonPress().then(() => console.log('Signed in with Facebook!')}
|
||||
onPress={() => onFacebookButtonPress().then(() => console.log('Signed in with Facebook!'))}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -172,7 +172,7 @@ function TwitterSignIn() {
|
||||
return (
|
||||
<Button
|
||||
title="Twitter Sign-In"
|
||||
onPress={() => onTwitterButtonPress().then(() => console.log('Signed in with Twitter!')}
|
||||
onPress={() => onTwitterButtonPress().then(() => console.log('Signed in with Twitter!'))}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -232,7 +232,7 @@ function GoogleSignIn() {
|
||||
return (
|
||||
<Button
|
||||
title="Google Sign-In"
|
||||
onPress={() => onGoogleButtonPress().then(() => console.log('Signed in with Google!')}
|
||||
onPress={() => onGoogleButtonPress().then(() => console.log('Signed in with Google!'))}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user