Skip to content

Commit

Permalink
add vars to useCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanstitt committed Dec 10, 2024
1 parent c969e02 commit c41c5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/upload-study-run-code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function UploadStudyRunCode({ run, getSignedURL, ...dzProps }: UploadStud
const success = await uploadFilesToS3(files, run, getSignedURL)
if (success) setUploading('complete')
},
[setUploading],
[setUploading, getSignedURL, run],
)

if (uploadState == 'complete') {
Expand Down

0 comments on commit c41c5f8

Please sign in to comment.