diff options
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/other/GeofencesList.js | 2 | ||||
-rw-r--r-- | modern/src/reports/components/ReportsMenu.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/other/GeofencesList.js b/modern/src/other/GeofencesList.js index 88db0654..5463d73a 100644 --- a/modern/src/other/GeofencesList.js +++ b/modern/src/other/GeofencesList.js @@ -40,7 +40,7 @@ const GeofencesList = () => { <List className={classes.list}> {Object.values(items).map((item, index, list) => ( <Fragment key={item.id}> - <ListItemButton button key={item.id} onClick={() => dispatch(devicesActions.select(item.id))}> + <ListItemButton key={item.id} onClick={() => dispatch(devicesActions.select(item.id))}> <ListItemText primary={item.name} /> <CollectionActions itemId={item.id} editPath="/settings/geofence" endpoint="geofences" setTimestamp={refreshGeofences} /> </ListItemButton> diff --git a/modern/src/reports/components/ReportsMenu.js b/modern/src/reports/components/ReportsMenu.js index dc0da4b9..8fa7df2d 100644 --- a/modern/src/reports/components/ReportsMenu.js +++ b/modern/src/reports/components/ReportsMenu.js @@ -17,7 +17,7 @@ import { useAdministrator } from '../../common/util/permissions'; const MenuItem = ({ title, link, icon, selected, }) => ( - <ListItemButton button key={link} component={Link} to={link} selected={selected}> + <ListItemButton key={link} component={Link} to={link} selected={selected}> <ListItemIcon>{icon}</ListItemIcon> <ListItemText primary={title} /> </ListItemButton> |