Skip to content

Commit

Permalink
Update error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding committed Nov 11, 2024
1 parent 389cbec commit 01421ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 01421ce

Please sign in to comment.