Skip to content

Commit

Permalink
Fix undefined callback
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Aug 22, 2023
1 parent cf4f315 commit 9b44cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.composable.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function useAuth() {
router.push("/access-denied");
return;
}
callback();
callback?.();
}

/** Fetch JWT, store it and use it for API client. */
Expand Down

0 comments on commit 9b44cb3

Please sign in to comment.