4 lines
129 B
TypeScript
4 lines
129 B
TypeScript
import type { User } from '@/types/user';
|
|
|
|
export const useCurrentUser = () => useState<User | null>('currentUser', () => null);
|