flatten app to repo root and update docker deployment for single-stack runtime
This commit is contained in:
16
hooks/use-auth-guard.ts
Normal file
16
hooks/use-auth-guard.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
'use client';
|
||||
|
||||
export function useAuthGuard() {
|
||||
return {
|
||||
session: {
|
||||
user: {
|
||||
id: 1,
|
||||
name: 'Local Operator',
|
||||
email: 'operator@local.fiscal',
|
||||
image: null
|
||||
}
|
||||
},
|
||||
isPending: false,
|
||||
isAuthenticated: true
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user