feat: profile page
This commit is contained in:
@ -2,5 +2,8 @@ import { Login } from "index";
|
||||
import { useSyncExternalStore } from "react";
|
||||
|
||||
export function useLogin() {
|
||||
return useSyncExternalStore(c => Login.hook(c), () => Login.snapshot());
|
||||
}
|
||||
return useSyncExternalStore(
|
||||
(c) => Login.hook(c),
|
||||
() => Login.snapshot()
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user