diff --git a/frontend/occupi-mobile4/screens/Dashboard/Dashboard.tsx b/frontend/occupi-mobile4/screens/Dashboard/Dashboard.tsx index 3ca20ffa..2b91b32c 100644 --- a/frontend/occupi-mobile4/screens/Dashboard/Dashboard.tsx +++ b/frontend/occupi-mobile4/screens/Dashboard/Dashboard.tsx @@ -146,6 +146,7 @@ const Dashboard: React.FC = () => { useEffect(() => { if (shouldCheckin) { + // eslint-disable-next-line react-hooks/rules-of-hooks useLocationCheckin(); } }, [shouldCheckin]);