diff --git a/components/FileListing.tsx b/components/FileListing.tsx index 4a86a49..59c10a7 100644 --- a/components/FileListing.tsx +++ b/components/FileListing.tsx @@ -270,7 +270,7 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) = el.remove() } else if (files.length > 1) { setTotalGenerating(true) - const toastId = toast.loading('Downloading selected files. Refresh to cancle, this may take some time...') + const toastId = toast.loading('Downloading selected files. Refresh to cancel, this may take some time...') downloadMultipleFiles(files, folder) .then(() => { setTotalGenerating(false) @@ -318,16 +318,15 @@ const FileListing: FunctionComponent<{ query?: ParsedUrlQuery }> = ({ query }) = /> - ) : totalSelected ? ( - - - ) : ( - '' + )}