diff --git a/src/maps/MapBase.tsx b/src/maps/MapBase.tsx index 28b0979..d0224e6 100644 --- a/src/maps/MapBase.tsx +++ b/src/maps/MapBase.tsx @@ -665,7 +665,7 @@ export default function MapBase(props: Props) { latitude={homePin.latitude} draggable onDragEnd={homeDragEnd} - offset={[0, -25]}> + offset={[0, -30]}> @@ -674,11 +674,11 @@ export default function MapBase(props: Props) { transform: "rotate(-45deg)", width: 30, height: 30, - marginTop: -10, - marginLeft: -10, + marginTop: 10, + marginLeft: 7, pointerEvents: "none" }}> - + diff --git a/src/navigation/Router.tsx b/src/navigation/Router.tsx index 026acd0..18fe694 100644 --- a/src/navigation/Router.tsx +++ b/src/navigation/Router.tsx @@ -8,6 +8,7 @@ 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"; const DeviceHistory = lazy(() => import("pages/DeviceHistory")); const DevicePage = lazy(() => import("pages/Device")); @@ -222,6 +223,7 @@ export default function Router(props: Props) { } /> } /> } /> + } /> {/* } /> diff --git a/src/products/AgIcons/HomeIcon.tsx b/src/products/AgIcons/HomeIcon.tsx index d3dd562..62a111c 100644 --- a/src/products/AgIcons/HomeIcon.tsx +++ b/src/products/AgIcons/HomeIcon.tsx @@ -6,11 +6,13 @@ import React from "react"; interface Props { type?: "light" | "dark"; + height?: number | string + width?: number | string } export default function HomeIcon(props: Props) { const themeType = useThemeType(); - const { type } = props; + const { type, height, width } = props; const src = () => { if (type) { @@ -20,5 +22,5 @@ export default function HomeIcon(props: Props) { return themeType === "light" ? HomeIconDark : HomeIconLight; }; - return ; + return ; }