Fix `null` signUp URL handling from #25014 (#25108)

th-downstream
Renaud Chaput 1 year ago committed by GitHub
parent 6077f3e24c
commit 9be9f4f5e2

@ -21,7 +21,7 @@ const Account = connect(state => ({
));
const mapStateToProps = (state) => ({
signupUrl: state.getIn(['server', 'server', 'registrations', 'url'], '/auth/sign_up'),
signupUrl: state.getIn(['server', 'server', 'registrations', 'url'], null) || '/auth/sign_up',
});
const mapDispatchToProps = (dispatch) => ({

Loading…
Cancel
Save