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:
parent
a6820162fb
commit
2b86484421
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue