Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Show the arrow icon in Step1 submit button only when continuing
Browse files Browse the repository at this point in the history
  • Loading branch information
vincit-matu committed Feb 26, 2024
1 parent 8fa0fd8 commit e8c2382
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/ui/components/reservation/Step1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,9 @@ const Step1 = ({
<MediumButton
variant="primary"
type="submit"
iconRight={<IconArrowRight aria-hidden />}
iconRight={
requiresHandling ? <IconArrowRight aria-hidden /> : undefined
}
data-test="reservation__button--update"
isLoading={isSubmitting}
disabled={!areTermsSpaceAccepted || !areServiceSpecificTermsAccepted}
Expand Down

0 comments on commit e8c2382

Please sign in to comment.