diff --git a/src/components/ReviewFormContainer/index.tsx b/src/components/ReviewFormContainer/index.tsx index 57cb4121..3409d99d 100644 --- a/src/components/ReviewFormContainer/index.tsx +++ b/src/components/ReviewFormContainer/index.tsx @@ -472,7 +472,7 @@ function ReviewFormContainer() { - + diff --git a/src/components/RoutingLinks.tsx/index.tsx b/src/components/RoutingLinks.tsx/index.tsx index 6ba19be1..a9aafc3d 100644 --- a/src/components/RoutingLinks.tsx/index.tsx +++ b/src/components/RoutingLinks.tsx/index.tsx @@ -19,6 +19,7 @@ export interface RoutingLinksType { // We only want an optional "submit" property for the next prop. // The "url" and "text" props are not needed if "submit" is passed. next: Partial & { submit?: boolean }; + isDisabled?: boolean; } /** @@ -27,7 +28,11 @@ export interface RoutingLinksType { * previous link is optional so it can be used on the starting page. A simple * approach to routing until submitting forms is integrated into routing. */ -function RoutingLinks({ previous, next }: RoutingLinksType): JSX.Element { +function RoutingLinks({ + previous, + next, + isDisabled = false, +}: RoutingLinksType): JSX.Element { const { t } = useTranslation("common"); const nextText = next.text || t("button.next"); const previousText = previous?.text || t("button.previous"); @@ -63,6 +68,7 @@ function RoutingLinks({ previous, next }: RoutingLinksType): JSX.Element { ) : (