diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx index ebea0d4..69ab3f9 100644 --- a/src/pages/home/index.tsx +++ b/src/pages/home/index.tsx @@ -265,6 +265,7 @@ export const HomePage = () => { }) .catch((err) => { console.log('err in upload:>> ', err) + setIsLoading(false) toast.error(err.message || 'Error occurred in uploading zip file') return null }) diff --git a/src/pages/sign/index.tsx b/src/pages/sign/index.tsx index bfbc6af..3295cf1 100644 --- a/src/pages/sign/index.tsx +++ b/src/pages/sign/index.tsx @@ -221,6 +221,7 @@ export const SignDocument = () => { }) .catch((err) => { console.log('err in upload:>> ', err) + setIsLoading(false) toast.error(err.message || 'Error occurred in uploading zip file') return null })