mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 22:26:38 +08:00
14 lines
290 B
TypeScript
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()
|
|
}
|