Added testing mode
This commit is contained in:
parent
8ce7607cee
commit
12f0984873
|
@ -223,6 +223,17 @@ export default function App() {
|
|||
setUser({ isManager: false, isLoggedIn: false });
|
||||
});
|
||||
}
|
||||
// Debug mode, allow all:
|
||||
// let fetchUser = () => {
|
||||
// setUser({
|
||||
// name: "TEST USERTEST",
|
||||
// isManager: true,
|
||||
// isLoggedIn: true,
|
||||
// email: "testesen@gmail.com",
|
||||
// asuraId: "123456789",
|
||||
// googleId: "234"
|
||||
// });
|
||||
// }
|
||||
|
||||
React.useEffect(() => {
|
||||
fetchUser();
|
||||
|
|
Loading…
Reference in New Issue