Files
OpenFlare/Wavelet/frontend/components/providers/auth-provider.tsx
T
2026-06-18 15:24:48 +08:00

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