From 85db3be13a39c656dc278f1c8598712edc043ab5 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Mon, 2 Oct 2023 22:15:03 +0800 Subject: [PATCH] set default value to false --- src/pages/signin/SignInPageLayout/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/signin/SignInPageLayout/index.js b/src/pages/signin/SignInPageLayout/index.js index 03b286727afb..1f70364c307b 100644 --- a/src/pages/signin/SignInPageLayout/index.js +++ b/src/pages/signin/SignInPageLayout/index.js @@ -39,7 +39,7 @@ const propTypes = { innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]), /** Whether or not the sign in page is being rendered in the RHP modal */ - isInModal: PropTypes.bool.isRequired, + isInModal: PropTypes.bool, /** Override the green headline copy */ customHeadline: PropTypes.string, @@ -53,6 +53,7 @@ const propTypes = { const defaultProps = { innerRef: () => {}, + isInModal: false, customHeadline: '', customHeroBody: '', };