fix unsafe access

This commit is contained in:
Alex Holliday committed 2024-09-05 14:42:12 -07:00
1 parent 3dbbd93f01
commit 191aea95f0
1 file changed
+2 -2
+2 -2
View File
@@ -110,8 +110,8 @@ const Monitors = ({ isAdmin }) => {
borderColor={theme.palette.border.light} borderColor={theme.palette.border.light}
backgroundColor={theme.palette.background.accent} backgroundColor={theme.palette.background.accent}
> >
{monitorState?.monitorsSummary.monitors?.monitors?.length || {monitorState?.monitorsSummary?.monitors?.monitors
0} ?.length || 0}
</Box> </Box>
{/* TODO - add search bar */} {/* TODO - add search bar */}
</Stack> </Stack>