✨ Add usage-based new pricing plans
This commit is contained in:
committed by
Baptiste Arnaud
parent
6a1eaea700
commit
898367a33b
@ -65,7 +65,8 @@ export const FileUploadForm = ({
|
||||
],
|
||||
})
|
||||
setIsUploading(false)
|
||||
if (urls.length) return onSubmit({ label: `File uploaded`, value: urls[0] })
|
||||
if (urls.length)
|
||||
return onSubmit({ label: `File uploaded`, value: urls[0] ?? '' })
|
||||
setErrorMessage('An error occured while uploading the file')
|
||||
}
|
||||
const startFilesUpload = async (files: File[]) => {
|
||||
|
Reference in New Issue
Block a user