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