Skip to content

Commit 813a2d8

Browse files
committed
DT-6951 better length check
1 parent 4a4f1ac commit 813a2d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ui/Monitor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const Monitor: FC<IProps> = ({
128128
})
129129
.flat();
130130

131-
if (stopsForMap.length === 0) {
131+
if (!stopsForMap.length) {
132132
return (
133133
<div
134134
style={style}

0 commit comments

Comments
 (0)