diff --git a/frontend/components/ClipboardApp/FileListDisplay.tsx b/frontend/components/ClipboardApp/FileListDisplay.tsx index ad20ee7..c0aedc7 100644 --- a/frontend/components/ClipboardApp/FileListDisplay.tsx +++ b/frontend/components/ClipboardApp/FileListDisplay.tsx @@ -225,6 +225,9 @@ const FileListDisplay: React.FC = ({ fileProgresses, showFinished, activeTransfers, + mode, + clearSendProgress, + clearReceiveProgress, folders, singleFiles, ]); @@ -286,7 +289,15 @@ const FileListDisplay: React.FC = ({ // Update the last status prevShowFinishedRef.current[item.fileId] = currentShowFinished; }); - }, [showFinished, singleFiles, folders, saveType, onDownload]); + }, [ + showFinished, + singleFiles, + folders, + saveType, + onDownload, + activeTransfers, + fileProgresses, + ]); //Actions corresponding to each file - progress, download, delete const renderItemActions = (item: FileMeta) => { diff --git a/frontend/components/Editor/EditorToolbar/InsertTools.tsx b/frontend/components/Editor/EditorToolbar/InsertTools.tsx index 5421011..dac3105 100644 --- a/frontend/components/Editor/EditorToolbar/InsertTools.tsx +++ b/frontend/components/Editor/EditorToolbar/InsertTools.tsx @@ -1,4 +1,4 @@ -import { Link2, Image, Code } from "lucide-react"; +import { Link2, Image as ImageIcon, Code } from "lucide-react"; interface InsertToolsProps { insertLink: () => void; @@ -25,7 +25,7 @@ export function InsertTools({ onClick={insertImage} title="Upload image" > - +