mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
updated examples: astro, nextjs, remix, bun, node
This commit is contained in:
@@ -35,8 +35,9 @@ export const loader = async (args: LoaderFunctionArgs) => {
|
||||
// add api to the context
|
||||
args.context.api = api;
|
||||
|
||||
await api.verifyAuth();
|
||||
return {
|
||||
user: api.getAuthState().user
|
||||
user: api.getAuthState()?.user
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user