Skip to content

Commit

Permalink
add missing dep in useCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
r0xsh committed Dec 4, 2024
1 parent aaaf9b7 commit e963610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigation/courier/barcode/Barcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function BarcodePage({
default:
return;
}
}, [entity, navigation, taskLists]);
}, [entity, navigation, taskLists, askToAssign, askToUnassign]);

useEffect(() => {
shouldNotificationBeDisplayed(false);
Expand Down

0 comments on commit e963610

Please sign in to comment.