Skip to content

Commit 8b185ba

Browse files
committed
fix: OF-522 slider state wrong
1 parent 4bb5e15 commit 8b185ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile/components/OMap/OMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const OMap = (props: OMapProps) => {
5454
longitudeDelta: 0.0421,
5555
});
5656
/** @DEV use a temp value here, so we do not update and re-use the same value (lagging) */
57-
const [tempSliderValue, setTempSliderValue] = useState(0);
57+
const [tempSliderValue, setTempSliderValue] = useState(DEFAULT_RADIUS_SIZE);
5858

5959
useEffect(() => {
6060
if (location) {

0 commit comments

Comments
 (0)