From cf20d67f6224777a681f469381be9959bff9d364 Mon Sep 17 00:00:00 2001 From: shrouxm Date: Wed, 10 Jul 2024 14:09:09 -0700 Subject: [PATCH] chore: disable spurious lint warning --- dev-client/src/screens/HomeScreen/HomeScreen.tsx | 2 ++ 1 file changed, 2 insertions(+) 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);