Skip to content

Commit 7d0d431

Browse files
committed
fix(submissions): fix infinite polling
1 parent 994fe14 commit 7d0d431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/submissions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function useProcessInterval({
6565
},
6666
{
6767
onSuccess: (data) => {
68-
if (data.status === 'completed') {
68+
if (data.status === 'done') {
6969
setIsPollingEnabled(false);
7070
onSuccess();
7171
}

0 commit comments

Comments
 (0)