update
This commit is contained in:
@@ -82,7 +82,7 @@ define(['./workbox-54d0af47'], (function (workbox) { 'use strict';
|
||||
"revision": "3ca0b8505b4bec776b69afdba2768812"
|
||||
}, {
|
||||
"url": "index.html",
|
||||
"revision": "0.s1fup7lrbig"
|
||||
"revision": "0.f3u8hds6p7"
|
||||
}], {});
|
||||
workbox.cleanupOutdatedCaches();
|
||||
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
|
||||
|
||||
@@ -61,7 +61,7 @@ const Login = () => {
|
||||
console.log('====================================');
|
||||
console.log(res.data?.data);
|
||||
console.log('====================================');
|
||||
navigate('/')
|
||||
navigate('/dashboard')
|
||||
dispatch(setToken(String(res.data?.data["access-token"])));
|
||||
} else {
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ import DeactivatedAccounts from "../Pages/ManageUsers/DeactivatedAccounts/Deacti
|
||||
|
||||
export const RouteLink = [
|
||||
{ path: "/", Component: Dashboard },
|
||||
{ path: "/dashboard", Component: Dashboard },
|
||||
{ path: "/register-users", Component: RegisterUsers },
|
||||
{ path: "/deactivated-accounts", Component: DeactivatedAccounts },
|
||||
{ path: "/manage-post", Component: ManagePost },
|
||||
|
||||
Reference in New Issue
Block a user