8 lines
179 B
TypeScript
8 lines
179 B
TypeScript
|
|
import { useAuthContext } from '../contexts/AuthContext';
|
|
|
|
// Export as useAuth to maintain backward compatibility
|
|
export const useAuth = () => {
|
|
return useAuthContext();
|
|
};
|