Update Tasks
This commit is contained in:
@@ -1,6 +1 @@
|
||||
|
||||
import { lazy } from "react";
|
||||
|
||||
export const SkeletonLoader = lazy(()=> import("./Skeleton"))
|
||||
|
||||
|
||||
export { default as SkeletonLoader } from "./Skeleton";
|
||||
|
||||
+5
-5
@@ -16,17 +16,17 @@ function renderRoutes(role) {
|
||||
path="/admin/dashboard"
|
||||
element={<AdminDashboardPage />}
|
||||
></Route>
|
||||
<Route
|
||||
exact
|
||||
path="/admin/receipt"
|
||||
element={<AdminListReceipts />}
|
||||
></Route>
|
||||
</Routes>
|
||||
);
|
||||
break;
|
||||
default:
|
||||
return (
|
||||
<Routes>
|
||||
<Route
|
||||
exact
|
||||
path="/admin/receipt"
|
||||
element={<AdminListReceipts />}
|
||||
></Route>
|
||||
<Route exact path="/admin/login" element={<AdminLoginPage />}></Route>
|
||||
|
||||
<Route path="*" exact element={<NotFoundPage />}></Route>
|
||||
|
||||
@@ -208,7 +208,7 @@ const columns = [
|
||||
key: "sku",
|
||||
operation: "list",
|
||||
},
|
||||
selected_column: false,
|
||||
selected_column: true,
|
||||
isSortedDesc: false,
|
||||
mappingExist: false,
|
||||
mappings: {},
|
||||
|
||||
Reference in New Issue
Block a user