Skip to content

Commit

Permalink
fix: maintain button loading state until redirection
Browse files Browse the repository at this point in the history
The "claim" button loading states were resetting before page redirection.
The fix ensures that loading states persist until the redirection, therefore
preventing interaction during the process.
  • Loading branch information
kouloumos authored and Extheoisah committed May 28, 2024
1 parent 21e92ae commit 3e17a63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/tables/QueueTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ const QueueTable = () => {
throw new Error("failed to claim transcript");
}

setSelectedTranscriptId(-1);
if (data instanceof Error) {
await retryLoginAndClaim(transcriptId);
return;
Expand Down

0 comments on commit 3e17a63

Please sign in to comment.