Files
OpenFlare/frontend/components/providers/auth-provider.tsx
T
2026-06-08 20:34:28 +08:00

14 lines
290 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()
}