From 1ef3f48b8cd92ab6e2499d5ca85d03ff180d19a4 Mon Sep 17 00:00:00 2001 From: Eric Tillberg Date: Tue, 3 Dec 2024 14:04:55 -0500 Subject: [PATCH] Fix Form Upload validation mismatched props bug (#33291) --- .../simple-forms/form-upload/pages/helpers.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/applications/simple-forms/form-upload/pages/helpers.jsx b/src/applications/simple-forms/form-upload/pages/helpers.jsx index 24002fff266f..36666e79af70 100644 --- a/src/applications/simple-forms/form-upload/pages/helpers.jsx +++ b/src/applications/simple-forms/form-upload/pages/helpers.jsx @@ -28,13 +28,18 @@ export const CustomTopContent = () => { ); }; +/** @type {CustomPageType} */ export const CustomAlertPage = props => (
{props.alert} <> {props.contentBeforeButtons} - + {props.contentAfterButtons} @@ -45,4 +50,6 @@ CustomAlertPage.propTypes = { alert: PropTypes.element, contentAfterButtons: PropTypes.element, contentBeforeButtons: PropTypes.element, + goBack: PropTypes.func, + onContinue: PropTypes.func, };