feat: Add a client-side only user selection interface

This commit is contained in:
2024-09-24 01:05:02 +02:00
parent 0ce48776f1
commit 14a156d929
8 changed files with 147 additions and 20 deletions

View File

@ -0,0 +1,3 @@
import type { User } from '@/types/user';
export const useCurrentUser = () => useState<User | null>('currentUser', () => null);