fixed the import and side navigator icon
This commit is contained in:
parent
411ff5b14c
commit
2e3458cc22
2 changed files with 3 additions and 17 deletions
|
|
@ -7,23 +7,7 @@ import Logout from "pages/Logout";
|
|||
import { ErrorBoundary } from "react-error-boundary";
|
||||
import { getWhitelabel } from "services/whiteLabel";
|
||||
import Ventilation from "pages/VentEditor";
|
||||
// import FieldMap from "pages/FieldMap";
|
||||
// import GrainBag from "pages/grainBag";
|
||||
// import Terminals from "pages/Terminals";
|
||||
// import Gate from "pages/Gate";
|
||||
// import AviationMap from "pages/AviationMap";
|
||||
// import ConstructionSiteMap from "pages/ConstructionSiteMap";
|
||||
// import Sites from "pages/Sites";
|
||||
// import Site from "pages/Site";
|
||||
// import Heaters from "pages/Heaters";
|
||||
// import Heater from "pages/Heater";
|
||||
// import Tasks from "pages/Tasks";
|
||||
// import Transactions from "pages/Transactions";
|
||||
// import BinCableEstimator from "pages/BinCableEstimator";
|
||||
import { useGlobalState } from "providers";
|
||||
import Marketplace from "userFeatures/UserFeatures";
|
||||
// import Fields from "pages/Fields";
|
||||
//import Site from "pages/Site";
|
||||
|
||||
const DeviceHistory = lazy(() => import("pages/DeviceHistory"));
|
||||
const DevicePage = lazy(() => import("pages/Device"));
|
||||
|
|
@ -52,6 +36,7 @@ const Transactions = lazy(() => import("pages/Transactions"));
|
|||
const BinCableEstimator = lazy(() => import("pages/BinCableEstimator"));
|
||||
const APIDocs = lazy(() => import("pages/APIDocs"));
|
||||
const Fields = lazy(()=> import("pages/Fields"));
|
||||
const Marketplace = lazy(() => import("userFeatures/UserFeatures"))
|
||||
|
||||
interface Props {
|
||||
toggleTheme: () => void;
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ import ObjectHeaterIcon from "products/Construction/ObjectHeaterIcon";
|
|||
import TasksIcon from "products/Construction/TasksIcon";
|
||||
import CableIcon from "products/Bindapt/CableIcon";
|
||||
import FieldListIcon from "products/AgIcons/FieldList";
|
||||
import MarketplaceIcon from "products/CommonIcons/marketplaceIcon";
|
||||
|
||||
const drawerWidth = 230;
|
||||
|
||||
|
|
@ -373,7 +374,7 @@ export default function SideNavigator(props: Props) {
|
|||
classes={getClasses("/marketplace")}
|
||||
>
|
||||
<ListItemIcon>
|
||||
<Code />
|
||||
<MarketplaceIcon />
|
||||
</ListItemIcon>
|
||||
{open && <ListItemText primary="Marketplace" />}
|
||||
</ListItemButton>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue