Compare commits

..

No commits in common. "8e54fc7f2311d63ec25712b797bf847d713b9ece" and "e8e1e0e41b92ba9dd99ebb0e0352e23ea2e168bb" have entirely different histories.

1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ import TechnicalDocs from './TechnicalDocs'
type ViewState = 'welcome' | 'login' | 'app' | 'admin' | 'portfolio' type ViewState = 'welcome' | 'login' | 'app' | 'admin' | 'portfolio'
// App entry point for GeoCrop Web
function App() { function App() {
const [view, setView] = useState<ViewState>('welcome') const [view, setView] = useState<ViewState>('welcome')
const [isAdmin, setIsAdmin] = useState<boolean>(localStorage.getItem('isAdmin') === 'true') const [isAdmin, setIsAdmin] = useState<boolean>(localStorage.getItem('isAdmin') === 'true')