Skip to content

Commit

Permalink
Update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmartin committed Jul 25, 2023
1 parent c881540 commit d7c7c11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ const { startUpload, abortUpload } = useFileUpload<Item>({
field: 'file',
// Below options are optional
method: 'POST',
data,
headers,
timeout: 60000,
timeout: 60 * 1000, // 60 seconds
onProgress,
onDone,
onError,
Expand Down

0 comments on commit d7c7c11

Please sign in to comment.