update the helper text to 10 MB

This commit is contained in:
Tanmay Deep Sharma
2025-08-06 16:12:51 +05:30
parent c310fe2f76
commit 4939508da6
2 changed files with 4 additions and 4 deletions
@@ -75,8 +75,8 @@ const handleFileChange = event => {
event.target.value = '';
return;
}
if (file.size > 20 * 1024 * 1024) {
// 20MB
if (file.size > 10 * 1024 * 1024) {
// 10MB
useAlert(t('CAPTAIN.DOCUMENTS.FORM.PDF_FILE.TOO_LARGE'));
event.target.value = '';
return;