Skip to content

Commit

Permalink
Reinforce the constness of notAuthenticatedState (#7607)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored and jtoar committed Feb 13, 2023
1 parent 50445a8 commit 4344f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/auth/src/AuthProvider/useReauthenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const notAuthenticatedState = {
userMetadata: null,
loading: false,
hasError: false,
}
} as const

export const useReauthenticate = <TUser>(
authImplementation: AuthImplementation<TUser>,
Expand Down

0 comments on commit 4344f62

Please sign in to comment.