Skip to content

Commit

Permalink
use toast
Browse files Browse the repository at this point in the history
  • Loading branch information
c1495616js committed Oct 17, 2024
1 parent 66240f7 commit 3140ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/FileUploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function handleFileWithRestrictions(file: File, extensions: string[] = []) {
if (err instanceof Error) {
toast.warning(err.message);
} else {
console.error(`An unknown error occurred: ${err}`);
toast.error(`An unknown error occurred: ${err}`);
}
}
}

0 comments on commit 3140ba3

Please sign in to comment.