Skip to content

Commit

Permalink
fix duplicate event button
Browse files Browse the repository at this point in the history
  • Loading branch information
daveearley committed Aug 28, 2024
1 parent 352c434 commit 9f351bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const DuplicateEventModal = ({onClose, eventId}: DuplicateEventModalProps
/>
</Card>
</fieldset>
<Button type="submit" fullWidth disabled={mutation.isIdle}>
<Button type="submit" fullWidth disabled={mutation.isPending}>
{mutation.isPending ? t`Working...` : t`Duplicate Event`}
</Button>
</form>
Expand Down

0 comments on commit 9f351bb

Please sign in to comment.