chore: change name of folder and page
This commit is contained in:
@@ -6,7 +6,7 @@ import MenuDrawerPrivate, { OPEN_WIDTH, MINI_WIDTH } from './components/MenuDraw
|
||||
import Footer from './components/Footer';
|
||||
import Dashboard from './private/dashboard/Dashboard';
|
||||
import UserManagement from './private/users/UserManagement';
|
||||
import FurnitureVariantManagement from './private/fornitures/FurnitureVariantManagement';
|
||||
import ProductCollections from './private/catalogs/ProductCollections';
|
||||
import Categories from './private/categories/Categories';
|
||||
import LoginPage from './private/LoginPage';
|
||||
import { Routes, Route, Navigate } from 'react-router-dom';
|
||||
@@ -66,7 +66,7 @@ export default function App() {
|
||||
{currentView === 'Dashboard' && <Dashboard />}
|
||||
{currentView === '/Users/UserManagement' && <UserManagement />}
|
||||
{currentView === '/Products Management/Catalog Management/Product Collections' && (
|
||||
<FurnitureVariantManagement />
|
||||
<ProductCollections />
|
||||
)}
|
||||
{currentView === '/ProductsManagement/CatalogManagement/Categories' && (
|
||||
<Categories />
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// src/private/furniture/FurnitureVariantManagement.jsx
|
||||
import SectionContainer from '../../components/SectionContainer';
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import { DataGrid } from '@mui/x-data-grid';
|
||||
@@ -35,7 +34,7 @@ const TYPE_NAMES = {
|
||||
origin: 'Origin',
|
||||
};
|
||||
|
||||
export default function FurnitureVariantManagement() {
|
||||
export default function ProductCollections() {
|
||||
const { user } = useAuth();
|
||||
const token = user?.thalosToken || localStorage.getItem('thalosToken');
|
||||
|
||||
Reference in New Issue
Block a user