We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7adae commit 50fa102Copy full SHA for 50fa102
1 file changed
src/components/MapView/Direction.tsx
@@ -5,7 +5,7 @@ import type {DirectionProps} from './MapViewTypes';
5
6
function Direction({coordinates, belowLayerID}: DirectionProps) {
7
const styles = useThemeStyles();
8
- if (coordinates.length < 1) {
+ if (coordinates.length < 2) {
9
return null;
10
}
11
0 commit comments