State token fix
This commit is contained in:
parent
1de2c8ee48
commit
3eaf001df7
5 changed files with 29 additions and 33 deletions
|
|
@ -48,13 +48,13 @@ function App(_: AppProps) {
|
|||
<div className="app bg-gray-50 min-h-screen flex flex-col">
|
||||
{!isValid(auth) ? (
|
||||
<Router>
|
||||
<Login path="/login" />
|
||||
<Login default path="/login" />
|
||||
<LoginCallback path="/login-callback" />
|
||||
</Router>
|
||||
) : (
|
||||
<Layout>
|
||||
<Router>
|
||||
<Dashboard path="/dashboard" />
|
||||
<Dashboard default path="/dashboard" />
|
||||
<Users path="/users" />
|
||||
<Apps path="/apps" />
|
||||
<AppSingle path="/apps/:id" />
|
||||
|
|
|
|||
Reference in a new issue