Skip to content

Commit

Permalink
chore: disable spurious lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
shrouxm authored and paulschreiber committed Jul 11, 2024
1 parent b4105b5 commit cf20d67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-client/src/screens/HomeScreen/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<BottomSheetModal>(null);
Expand Down

0 comments on commit cf20d67

Please sign in to comment.