Files
OpenFlare/frontend/components/providers/auth-provider.tsx
T
2026-07-13 15:44:03 +08:00

14 lines
293 B
TypeScript

'use client';
import { useUser } from '@/contexts/user-context';
/**
* Auth provider bridge hook
*
* Provides a stable interface for components that use the useAuth() pattern.
* Delegates to the canonical UserContext under the hood.
*/
export function useAuth() {
return useUser();
}