diff --git a/src/app/configure/upload/page.tsx b/src/app/configure/upload/page.tsx index 2e1721f..0a50c00 100644 --- a/src/app/configure/upload/page.tsx +++ b/src/app/configure/upload/page.tsx @@ -33,7 +33,7 @@ const Page = () => { setIsDragOver(false) toast({ - title: `${file.file.type} type is not supported.`, + title: `${file.file.type ? file.file.type : 'Your file '} type is not supported.`, description: "Please choose a PNG, JPG, or JPEG image instead.", variant: "destructive" })