Skip to content

Commit

Permalink
Change snackbar message when adding unsupported files (#220)
Browse files Browse the repository at this point in the history
**User-Facing Changes**
Snackbar message when the user tries to load an unsupported file.
Old message: The file format is unsupported.
**New message: The file format is not supported.**

**Description**
Updated snackbar message

- [x] The web version was tested and it is running ok
- [x] The desktop version was tested and it is running ok
- [ ] This change is covered by unit tests

Signed-off-by: Luiz Bezerra <[email protected]>
  • Loading branch information
luluiz authored Oct 15, 2024
1 parent 7b21d69 commit c2b9812
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default function DocumentDropListener(props: Props): JSX.Element {

// Check for no supported files
if (filteredFiles.length === 0 && filteredHandles?.length === 0) {
enqueueSnackbar("The file format is unsupported.", { variant: "error" });
enqueueSnackbar("The file format is not supported.", { variant: "error" });
return;
}

Expand Down

0 comments on commit c2b9812

Please sign in to comment.