diff --git a/.circleci/config.yml b/.circleci/config.yml index 1ab7688d76..26d3cd8d40 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -164,7 +164,7 @@ parameters: default: "main" type: string sandbox_git_branch: # change to feature branch to test deployment - default: "kw-overview-widget" + default: "kw-test" type: string prod_new_relic_app_id: default: "877570491" diff --git a/frontend/src/pages/Landing/RegionalSelect.js b/frontend/src/pages/Landing/RegionalSelect.js index ce253d1d1e..66ccf1c20d 100644 --- a/frontend/src/pages/Landing/RegionalSelect.js +++ b/frontend/src/pages/Landing/RegionalSelect.js @@ -115,11 +115,19 @@ function RegionalSelect(props) { }; CustomOption.propTypes = { - data: PropTypes.object.isRequired, - innerRef: PropTypes.string.isRequired, + data: PropTypes.shape({ + value: PropTypes.number, + label: PropTypes.string, + }), + innerRef: PropTypes.func, innerProps: PropTypes.object.isRequired, }; + CustomOption.defaultProps = { + data: {}, + innerRef: () => 0, + }; + const options = [...getUserOptions(regions), { custom: true }]; return (