Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/FileManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
deleteFolderResource,
uploadFilesToContainer,
uploadFolderFilesToContainer,
FolderUploadFile,

Check warning on line 46 in app/components/FileManager.tsx

View workflow job for this annotation

GitHub Actions / eslint

'FolderUploadFile' is defined but never used
processDragDropItems,
hasFiles as hasFilesInDrag,
isUnsupportedFolderDrag,
Expand Down Expand Up @@ -510,7 +510,7 @@
let fetchFn: typeof fetch;
try {
({ fetch: fetchFn } = getAuthenticatedSession());
} catch (error) {

Check warning on line 513 in app/components/FileManager.tsx

View workflow job for this annotation

GitHub Actions / eslint

'error' is defined but never used
toast.error("Not authenticated");
return;
}
Expand Down Expand Up @@ -606,7 +606,7 @@
const displayFiles = selectedStorageId ? browsedFiles : storageFiles;

// Get all available folders for move dialog (storages + browsed folders)
const availableFolders: FileItemData[] = [

Check warning on line 609 in app/components/FileManager.tsx

View workflow job for this annotation

GitHub Actions / eslint

'availableFolders' is assigned a value but never used
...storageFiles,
...(selectedStorageId ? browsedFiles.filter((f) => f.type === "folder") : []),
];
Expand Down Expand Up @@ -913,7 +913,7 @@
setFileToMove(null);
}}
file={fileToMove}
availableFolders={availableFolders}
storageFolders={storageFiles}
currentLocationUrl={getCurrentLocationUrl()}
onMoved={handleMoved}
/>
Expand Down
Loading
Loading