Skip to content

Commit

Permalink
revert loading state change
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercactapus committed May 22, 2024
1 parent 0612637 commit ac2be8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/app/loading/components/LoadingButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const LoadingButton = (props: LoadingButtonProps): JSX.Element => {
disabled={loading || disabled}
type={noSubmit ? 'button' : 'submit'}
>
{buttonText || (!attemptCount ? 'Confirm' : 'Retry')}
{!attemptCount ? buttonText || 'Confirm' : 'Retry'}
</Button>
{loading && (
<CircularProgress
Expand Down

0 comments on commit ac2be8b

Please sign in to comment.