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 bd2c111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/react-oidc-context.api.md
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down
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 bd2c111

Please sign in to comment.