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