improved uploaded and made axios interceptor typescript

This commit is contained in:
subnub
2024-07-22 09:51:06 -04:00
parent 93d4b24936
commit bac7867c0c
12 changed files with 84 additions and 380 deletions
-6
View File
@@ -1,5 +1,3 @@
import axios from "../axiosInterceptor";
interface MapType {
[key: string]: {
token: any;
@@ -28,7 +26,3 @@ export const cancelAllFileUploads = () => {
delete cancelTokens[key];
}
};
// export const cancelFileUpload = (fileId) => {
// };