mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-21 10:34:39 +08:00
Update phone-auth.md
This commit is contained in:
committed by
GitHub
parent
52d9cd0072
commit
40c799f897
@@ -44,7 +44,7 @@ function PhoneSignIn() {
|
||||
|
||||
async function confirmCode() {
|
||||
try {
|
||||
await confirmation.confirm('12345');
|
||||
await confirm.confirm(code);
|
||||
} catch (error) {
|
||||
console.log('Invalid code.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user