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'; | ||||
| @@ -65,8 +65,8 @@ export default function App() { | ||||
|               <> | ||||
|                 {currentView === 'Dashboard' && <Dashboard />} | ||||
|                 {currentView === '/Users/UserManagement' && <UserManagement />} | ||||
|                 {currentView === '/ProductsManagement/CatalogManagement/ProductCollections' && ( | ||||
|                   <FurnitureVariantManagement /> | ||||
|                 {currentView === '/Products Management/Catalog Management/Product Collections' && ( | ||||
|                   <ProductCollections /> | ||||
|                 )} | ||||
|                 {currentView === '/ProductsManagement/CatalogManagement/Categories' && ( | ||||
|                   <Categories /> | ||||
|   | ||||
| @@ -160,7 +160,7 @@ export default function MenuDrawerPrivate({ | ||||
|                                 if (node.title === 'Users Management') { | ||||
|                                     onSelect?.('/Users/UserManagement'); | ||||
|                                 } else if (node.title === 'Product Collections') { | ||||
|                                     onSelect?.('/ProductsManagement/CatalogManagement/ProductCollections'); | ||||
|                                     onSelect?.('/Products Management/Catalog Management/Product Collections'); | ||||
|                                 } else if (node.title === 'Categories') { | ||||
|                                     onSelect?.('/ProductsManagement/CatalogManagement/Categories'); | ||||
|                                 } else { | ||||
|   | ||||
| @@ -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
	 Rodolfo Ruiz
					Rodolfo Ruiz