diff --git a/docs/react-oidc-context.api.md b/docs/react-oidc-context.api.md index 7bc6092a..daf6077f 100644 --- a/docs/react-oidc-context.api.md +++ b/docs/react-oidc-context.api.md @@ -1,4 +1,4 @@ -## API Report File for "react-oidc-context" +## API Report File for "@cubular-io/react-oidc-context" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). diff --git a/src/AuthProvider.tsx b/src/AuthProvider.tsx index ca074134..c64b3c6f 100644 --- a/src/AuthProvider.tsx +++ b/src/AuthProvider.tsx @@ -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);