We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0128b1 commit 7b501f7Copy full SHA for 7b501f7
src/containers/NewNote.js
@@ -42,7 +42,7 @@ export default class NewNote extends Component {
42
event.preventDefault();
43
44
if (this.file && this.file.size > config.MAX_ATTACHMENT_SIZE) {
45
- alert("Please pick a file smaller than 5MB");
+ alert(`Please pick a file smaller than ${config.MAX_ATTACHMENT_SIZE/1000000} MB.`);
46
return;
47
}
48
src/containers/Notes.js
@@ -79,7 +79,7 @@ export default class Notes extends Component {
79
80
81
82
83
84
85
0 commit comments