made more FE files TS

This commit is contained in:
subnub
2024-07-07 19:27:28 -04:00
parent f5691f9de1
commit 9751b5ca84
15 changed files with 83 additions and 91 deletions
+1 -2
View File
@@ -72,11 +72,10 @@ export const restoreFolderAPI = async (folderID: string) => {
// DELETE
export const deleteFolder = async (folderID: string, parentList: string[]) => {
export const deleteFolder = async (folderID: string) => {
const response = await axios.delete("/folder-service/remove", {
data: {
id: folderID,
parentList,
},
});
return response.data;