Skip to content

Commit c9e3ffe

Browse files
committed
Bug fix: file: file-upload
1 parent 579bf2c commit c9e3ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/global/file-upload.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const FileUpload = ({ apiEndpoint, onChange, value }: Props) => {
6969
onClientUploadComplete={(res) => {
7070
onChange(res?.[0].url)
7171
}}
72-
onUpladError={(error: Error) => {
72+
onUploadError={(error: Error) => {
7373
console.log(error)
7474
}}
7575
/>

0 commit comments

Comments
 (0)