fix: increase maximum file size limit from 1MB to 10MB in FormUpload component
This commit is contained in:
parent
ba83a6a025
commit
e93c0a8464
@ -19,7 +19,7 @@ export const FormUpload = () => {
|
||||
const fetcher = useFetcher()
|
||||
const [disabled, setDisabled] = useState(false)
|
||||
const [error, setError] = useState<string>()
|
||||
const maxFileSize = 1024 // 1MB
|
||||
const maxFileSize = 10 * 1024 // 10MB
|
||||
|
||||
const formMethods = useRemixForm<TUploadSchema>({
|
||||
mode: 'onSubmit',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user