Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
r0xsh committed Dec 4, 2024
1 parent f9a6ba2 commit 818eeba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/navigation/courier/barcode/Barcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function BarcodePage({
return () => {
shouldNotificationBeDisplayed(true);
};
}, []);
}, [shouldNotificationBeDisplayed]);

useEffect(() => {
async function processActions() {
Expand All @@ -219,7 +219,7 @@ function BarcodePage({
}

processActions();
}, [clientActionsQueue]);
}, [clientActionsQueue, checkClientAction]);

return (
<>
Expand Down
2 changes: 1 addition & 1 deletion src/navigation/courier/barcode/BarcodeIncident.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function BarcodeIncident({

useEffect(() => {
navigation.setOptions({ headerShown: !enableCamera });
}, [enableCamera]);
}, [enableCamera, navigation]);

const { data, isSuccess, isError } = useQuery(
['task', 'failure_reasons', entity.id],
Expand Down

0 comments on commit 818eeba

Please sign in to comment.