1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-23 07:09:44 +02:00

fix: FIx deps in download attachment handler

This commit is contained in:
Maksim Eltyshev 2025-06-07 19:23:15 +02:00
parent a6820162fb
commit 2b86484421

View file

@ -64,7 +64,7 @@ const ItemContent = React.forwardRef(({ id, onOpen }, ref) => {
linkElement.target = '_blank';
linkElement.click();
},
[attachment.data.url, attachment.data.filename],
[attachment.data],
);
const handleToggleCoverClick = useCallback(