Skip to content

Commit

Permalink
fix: useCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Jancke committed Aug 30, 2024
1 parent fdf73ff commit 71c21ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuthProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export const AuthProvider = (props: AuthProviderProps): JSX.Element => {
onRemoveUser && await onRemoveUser();
}, [userManager, onRemoveUser]);

const callSigninCallback = useCallback(async (url: string) => {
const callSigninCallback = React.useCallback(async (url: string) => {
let user: User | void | null = null;
try {
user = await userManager.signinCallback(url);
Expand Down

0 comments on commit 71c21ac

Please sign in to comment.