Skip to content

Commit 50fa102

Browse files
committed
Fix Map does not load when opening track GPS when tracking is ongoing
1 parent da7adae commit 50fa102

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/MapView/Direction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type {DirectionProps} from './MapViewTypes';
55

66
function Direction({coordinates, belowLayerID}: DirectionProps) {
77
const styles = useThemeStyles();
8-
if (coordinates.length < 1) {
8+
if (coordinates.length < 2) {
99
return null;
1010
}
1111

0 commit comments

Comments
 (0)