fix login & verify code

This commit is contained in:
Muhammad Fajar
2022-11-29 13:56:10 +07:00
parent 52b9dd49c8
commit 1f5695cf6a
12 changed files with 198 additions and 232 deletions

View File

@@ -37,16 +37,6 @@ export default function Router() {
</AuthProvider>
),
},
{
path: 'verify-code',
element: (
<AuthProvider>
<GuestGuard>
<VerifyCode />
</GuestGuard>
</AuthProvider>
),
},
],
},
{
@@ -132,7 +122,6 @@ export default function Router() {
// Auth
const Login = Loadable(lazy(() => import('../pages/auth/Login')));
const VerifyCode = Loadable(lazy(() => import('../pages/auth/VerifyCode')));
// Dashboard
const Dashboard = Loadable(lazy(() => import('../pages/Dashboard/Dashboard')));