Skip to content

Commit d1196d6

Browse files
fix: use value of currentUser ref in useIsCurrentUserLoaded (#1344)
1 parent 67dbffd commit d1196d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/auth/user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function useCurrentUser(name?: string) {
4444
*/
4545
export function useIsCurrentUserLoaded(name?: string) {
4646
const currentUser = useCurrentUser(name)
47-
return computed(() => currentUser !== undefined)
47+
return computed(() => currentUser.value !== undefined)
4848
}
4949

5050
/**

0 commit comments

Comments
 (0)