chore: remove unneed code
This commit is contained in:
		
							
								
								
									
										12
									
								
								src/App.jsx
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/App.jsx
									
									
									
									
									
								
							| @@ -35,18 +35,6 @@ function App() { | |||||||
|  |  | ||||||
|         <AppHeader zone={zone} onSelectMenuItem={(view) => setCurrentView(view)} /> |         <AppHeader zone={zone} onSelectMenuItem={(view) => setCurrentView(view)} /> | ||||||
|  |  | ||||||
|         {/* Main content area */} |  | ||||||
|         {/* <Box component="main" sx={{ flex: 1, p: 2 }}> |  | ||||||
|           {zone === 'private' && <Clients />} |  | ||||||
|           {zone === 'restricted' && <Clients />} |  | ||||||
|  |  | ||||||
|           {zone === 'public' && currentView === 'Products' && <Products />} |  | ||||||
|           {zone === 'public' && currentView === 'Clients' && <Clients />} |  | ||||||
|           {zone === 'public' && currentView === 'Providers' && <Providers />} |  | ||||||
|           {zone === 'public' && currentView === 'Categories' && <Categories />} |  | ||||||
|           {zone === 'public' && currentView === 'Admin' && <Admin />} |  | ||||||
|         </Box> */} |  | ||||||
|  |  | ||||||
|         <Box component="main" sx={{ flex: 1, p: 2 }}> |         <Box component="main" sx={{ flex: 1, p: 2 }}> | ||||||
|           <Routes> |           <Routes> | ||||||
|             <Route path="/login" element={<LoginPage />} /> |             <Route path="/login" element={<LoginPage />} /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rodolfo Ruiz
					Rodolfo Ruiz