We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359f9d0 commit 20f0c26Copy full SHA for 20f0c26
src/auth/user.ts
@@ -57,7 +57,7 @@ export function useIsCurrentUserLoaded(name?: string) {
57
export function updateCurrentUserProfile(profile: {
58
displayName?: _Nullable<string>
59
photoURL?: _Nullable<string>
60
-}) {
+}): Promise<void> {
61
return getCurrentUser().then((user) => {
62
if (user) {
63
return updateProfile(user, profile).then(() => user.reload())
0 commit comments