Lint all the things
This commit is contained in:
@@ -25,7 +25,7 @@ export const getCurrentUser = () => {
|
||||
export const updateCurrentUser = (userDetails) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
const unsubscribe = auth.onAuthStateChanged((userAuth) => {
|
||||
updateProfile(userAuth, userDetails).then((r) => {
|
||||
updateProfile(userAuth, userDetails).then(() => {
|
||||
unsubscribe();
|
||||
resolve(userAuth);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user