17 lines
265 B
TypeScript
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
|
|
};
|
|
}
|