hotfix for bottom nav going to the wrong page

This commit is contained in:
csawatzky 2025-05-08 14:04:53 -06:00
parent 257c3e349a
commit f06393ca62

View file

@ -105,7 +105,7 @@ export default function BottomNavigator(props: Props) {
return (
<BottomNavigation value={route} onChange={(_, newValue) => handleRouteChange(newValue)}>
{isAdaptive && (
<BottomNavigationAction label="Farm" icon={<FieldsIcon type={getType()} />} value="fields" />
<BottomNavigationAction label="Farm" icon={<FieldsIcon type={getType()} />} value="visualFarm" />
)}
{isAdaptive && (
<BottomNavigationAction label="Bins" icon={<BinsIcon type={getType()} />} value="bins" />
@ -114,7 +114,7 @@ export default function BottomNavigator(props: Props) {
<BottomNavigationAction
label="Site Map"
icon={<FieldsIcon type={getType()} />}
value="constructionsiteMap"
value="constructionMap"
/>
)}
{isOmni && (