Skip to content

Commit 6f6acbe

Browse files
committed
Allow up to 10MB files
1 parent 741f497 commit 6f6acbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/components/file-input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
import { useCurrentLanguage } from "~/locale/context";
1818
import { useFinalizeUploadMutation, useUploadFileMutation } from "~/types";
1919

20-
const MAX_UPLOAD_SIZE_IN_MB = 1 * 1024 * 1024;
20+
const MAX_UPLOAD_SIZE_IN_MB = 10 * 1024 * 1024;
2121

2222
export const FileInput = ({
2323
onChange: baseOnChange,

frontend/src/locale/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ Failing to notify us may impact your eligibility for financial aid at future eve
472472
"cfp.speakerFacebookUrlDescription": "Facebook Profile URL",
473473
"cfp.speakerMastodonHandleDescription": "Mastodon Handle",
474474
"fileInput.placeholder": "Select a file",
475-
"fileInput.fileSize": "Maximum allowed size is 1MB",
475+
"fileInput.fileSize": "Maximum allowed size is 10MB",
476476
"fileInput.uploadFailed": "Something went wrong while trying to upload",
477477
"fileInput.uploading": "Uploading...",
478478
"cfp.grantsLabel": "Do you need a grant?",
@@ -1843,7 +1843,7 @@ Il tuo voto ci aiuterà a creare un programma che più rispecchia ciò che la co
18431843
"cfp.speakerTwitterHandleDescription":
18441844
"Lascia qui i tuoi contatti e li useremo per taggarti sui social quando annunceremo la tua proposal!{br}{br}Twitter Handle",
18451845
"fileInput.placeholder": "Carica un file",
1846-
"fileInput.fileSize": "Dimensione massima 1MB",
1846+
"fileInput.fileSize": "Dimensione massima 10MB",
18471847
"fileInput.uploadFailed": "Qualcosa è andato storto!",
18481848
"cfp.grantsLabel": "Hai bisogno di un grant?",
18491849
"cfp.speakerInstagramHandleDescription": "Instagram Handle",

0 commit comments

Comments
 (0)