feat: Add a client-side only user selection interface

This commit is contained in:
2024-09-24 01:05:02 +02:00
committed by florian_briand
parent 3bd0a02b62
commit 5712d898a5
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);