made file item a complte functional component now :)

This commit is contained in:
subnub
2024-06-23 05:07:42 -04:00
parent d9fcceebc5
commit 127760dba0
11 changed files with 444 additions and 856 deletions
+1
View File
@@ -66,6 +66,7 @@ export const downloadFile = async (fileID: string) => {
};
export const getFileThumbnail = async (thumbnailID: string) => {
// TODO: Change this
const url = `http://localhost:5173/api/file-service/thumbnail/${thumbnailID}`;
const config = {
responseType: "arraybuffer",