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
@@ -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(