Compare commits
2 Commits
e8e1e0e41b
...
8e54fc7f23
| Author | SHA1 | Date |
|---|---|---|
|
|
8e54fc7f23 | |
|
|
837c5a5121 |
|
|
@ -9,6 +9,7 @@ import TechnicalDocs from './TechnicalDocs'
|
|||
|
||||
type ViewState = 'welcome' | 'login' | 'app' | 'admin' | 'portfolio'
|
||||
|
||||
// App entry point for GeoCrop Web
|
||||
function App() {
|
||||
const [view, setView] = useState<ViewState>('welcome')
|
||||
const [isAdmin, setIsAdmin] = useState<boolean>(localStorage.getItem('isAdmin') === 'true')
|
||||
|
|
|
|||
Loading…
Reference in New Issue