refactor: watched dependencie added

This commit is contained in:
kKaskak 2024-03-14 20:57:25 +02:00
parent 0547b1675e
commit 809ea69803

View file

@ -39,7 +39,7 @@ const LibItem = ({ _id, removable, notifications, watched, ...props }) => {
...option,
label: t(option.label)
}));
}, [_id, removable, props.progress, props.deepLinks]);
}, [_id, removable, props.progress, props.deepLinks, watched]);
const optionOnSelect = React.useCallback((event) => {
if (typeof props.optionOnSelect === 'function') {