feat: sort shared files

This commit is contained in:
Elias Schneider
2023-03-14 14:50:18 +01:00
parent c807d208d8
commit b25c30d1ed
3 changed files with 91 additions and 3 deletions

View File

@@ -89,7 +89,12 @@ const Share = ({ shareId }: { shareId: string }) => {
{share?.files.length > 1 && <DownloadAllButton shareId={shareId} />}
</Group>
<FileList files={share?.files} share={share!} isLoading={!share} />
<FileList
files={share?.files}
setShare={setShare}
share={share!}
isLoading={!share}
/>
</>
);
};