Remove trailing period in maxFileSize Error

This commit is contained in:
Brett Gilio 2022-12-23 20:32:28 +00:00
parent 63b71e8f7c
commit 024c1d00b9

View file

@ -125,7 +125,7 @@ class Uploader {
if (maxFileSize > 0 && file.size > maxFileSize) {
const maxFileSizeInMB = (maxFileSize / 1024 / 1024).toFixed(0);
this.handleResponse({
error: `File "${file.name}" is larger than the maximum allowed size of ${maxFileSizeInMB} MB.`,
error: `File "${file.name}" is larger than the maximum allowed size of ${maxFileSizeInMB} MB`,
});
continue;