Skip to content

Commit ffc59f8

Browse files
committed
fix map component
1 parent a63f71a commit ffc59f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/Quark/components/Map.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ const Map: React.FC<Map> = ({ zoom=null, mapKey=undefined, value={ longitude: un
2525
}
2626
position.longitude = instance.lnglat.lng;
2727
position.latitude = instance.lnglat.lat;
28-
setMapPosition(position)
28+
setMapPosition(position);
29+
triggerChange({ ...position });
2930
},
3031
};
3132

0 commit comments

Comments
 (0)