diff --git a/packages/core/stories/patterns/file-upload/file-upload.stories.tsx b/packages/core/stories/patterns/file-upload/file-upload.stories.tsx index 18af1cc98f..5c8d645733 100644 --- a/packages/core/stories/patterns/file-upload/file-upload.stories.tsx +++ b/packages/core/stories/patterns/file-upload/file-upload.stories.tsx @@ -99,7 +99,7 @@ const FileItem = ({ const validFile = useCallback((file: File) => { if (file.type !== "application/pdf") { - setErrorMessage("Wrong format. Files must be in .PDF format"); + setErrorMessage("Invalid format. Files must be in .PDF format"); return false; } @@ -133,7 +133,7 @@ const FileItem = ({ if (badConnection && Math.random() > 0.7) { setStatus("failedConnection"); - setErrorMessage("Connection failed"); + setErrorMessage("Connection failed. Please try again."); return old; }