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

Commit e8c2382

Browse files
committed
Show the arrow icon in Step1 submit button only when continuing
1 parent 8fa0fd8 commit e8c2382

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/ui/components/reservation/Step1.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,9 @@ const Step1 = ({
350350
<MediumButton
351351
variant="primary"
352352
type="submit"
353-
iconRight={<IconArrowRight aria-hidden />}
353+
iconRight={
354+
requiresHandling ? <IconArrowRight aria-hidden /> : undefined
355+
}
354356
data-test="reservation__button--update"
355357
isLoading={isSubmitting}
356358
disabled={!areTermsSpaceAccepted || !areServiceSpecificTermsAccepted}

0 commit comments

Comments
 (0)