mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: login auth
This commit is contained in:
1 parent
99ed269723
commit
ff92b3dd45
1 file changed
+5
-1
@@ -8,7 +8,11 @@ import { useApp } from '../../../stores/app';
|
||||
|
||||
export function LoggedIn() {
|
||||
const login = useApp((state) => state.login!);
|
||||
const accountInfo = use(getAccountInfo(idToRegion(login.id), login.id));
|
||||
const accountInfo = use(
|
||||
getAccountInfo(idToRegion(login.id), login.id, [], {
|
||||
access_token: login.token,
|
||||
}),
|
||||
);
|
||||
|
||||
return (
|
||||
<Flex gap="3" align="center">
|
||||
|
||||
Reference in new issue
Block a user