Files
Neon-Desk/frontend/hooks/use-auth-guard.ts

17 lines
265 B
TypeScript

'use client';
export function useAuthGuard() {
return {
session: {
user: {
id: 1,
name: 'Local Operator',
email: 'operator@local.fiscal',
image: null
}
},
isPending: false,
isAuthenticated: true
};
}