fix: disable add participant button while create request is in flight
This commit is contained in:
parent
48dca7f072
commit
42e19f81cf
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ export function BatchResultEntry({
|
|||
size="sm"
|
||||
className="h-8"
|
||||
onClick={() => handleCreateParticipant(index)}
|
||||
disabled={!newParticipantName.trim()}
|
||||
disabled={!newParticipantName.trim() || createParticipantFetcher.state !== "idle"}
|
||||
>
|
||||
Add
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue