import type { User } from '@/types/user'; export const useCurrentUser = () => useState('currentUser', () => null);