Skip to content

Commit

Permalink
chore: fix aria-disabled inconsistency
Browse files Browse the repository at this point in the history
Signed-off-by: SeSo <[email protected]>
  • Loading branch information
Sepehr-Sobhani committed Oct 2, 2024
1 parent c1a2ea6 commit 8e6e4c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const SubmitButton: React.FunctionComponent<SubmitButtonProps> = ({
variant="contained"
type="button"
disabled={submitButtonDisabled ?? isSubmitting}
aria-disabled={isDisabled}
aria-disabled={submitButtonDisabled ?? isSubmitting}
>
{isSubmitting ? submitBtnText : "Next"}
</Button>
Expand Down

0 comments on commit 8e6e4c7

Please sign in to comment.