@@ -87,7 +87,7 @@ export async function fuiSignInWithEmailAndPassword(
87
87
const result = await signInWithCredential ( auth , credential ) ;
88
88
return handlePendingCredential ( result ) ;
89
89
} catch ( error ) {
90
- return await handleFirebaseError ( error , opts ) ;
90
+ return handleFirebaseError ( error , opts ) ;
91
91
}
92
92
}
93
93
@@ -114,7 +114,7 @@ export async function fuiCreateUserWithEmailAndPassword(
114
114
const result = await createUserWithEmailAndPassword ( auth , email , password ) ;
115
115
return handlePendingCredential ( result ) ;
116
116
} catch ( error ) {
117
- return await handleFirebaseError ( error , opts ) ;
117
+ return handleFirebaseError ( error , opts ) ;
118
118
}
119
119
}
120
120
@@ -157,7 +157,7 @@ export async function fuiConfirmPhoneNumber(
157
157
const result = await signInWithCredential ( auth , credential ) ;
158
158
return handlePendingCredential ( result ) ;
159
159
} catch ( error ) {
160
- return await handleFirebaseError ( error , opts ) ;
160
+ return handleFirebaseError ( error , opts ) ;
161
161
}
162
162
}
163
163
@@ -233,7 +233,7 @@ export async function fuiSignInWithEmailLink(
233
233
window . localStorage . removeItem ( 'emailLinkAnonymousUpgrade' ) ;
234
234
return handlePendingCredential ( result ) ;
235
235
} catch ( error ) {
236
- return await handleFirebaseError ( error , opts ) ;
236
+ return handleFirebaseError ( error , opts ) ;
237
237
}
238
238
}
239
239
@@ -248,7 +248,7 @@ export async function fuiSignInAnonymously(
248
248
const result = await signInAnonymously ( auth ) ;
249
249
return handlePendingCredential ( result ) ;
250
250
} catch ( error ) {
251
- return await handleFirebaseError ( error , opts ) ;
251
+ return handleFirebaseError ( error , opts ) ;
252
252
}
253
253
}
254
254
@@ -297,6 +297,6 @@ export async function fuiCompleteEmailLinkSignIn(
297
297
window . localStorage . removeItem ( 'emailForSignIn' ) ;
298
298
return handlePendingCredential ( result ) ;
299
299
} catch ( error ) {
300
- return await handleFirebaseError ( error , opts ) ;
300
+ return handleFirebaseError ( error , opts ) ;
301
301
}
302
302
}
0 commit comments