diff --git a/dev-client/src/screens/HomeScreen/HomeScreen.tsx b/dev-client/src/screens/HomeScreen/HomeScreen.tsx index b281c82fdc..0d1394c3a3 100644 --- a/dev-client/src/screens/HomeScreen/HomeScreen.tsx +++ b/dev-client/src/screens/HomeScreen/HomeScreen.tsx @@ -66,6 +66,8 @@ export const HomeScreen = memo(() => { if (!locationPermission?.granted) { requestLocationPermission(); } + // disable depcheck because we only want to run on mount + // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const infoBottomSheetRef = useRef(null);