Fix null signUp URL in various places (#25190)

This commit is contained in:
Claire authored and GitHub committed 2023-05-30 19:01:42 +02:00
1 parent 1baf40077b
commit 14bb6bb29a
2 files changed
+2 -2

No files matched your search

@@ -17,7 +17,7 @@ const SignInBanner = () => {
let signupButton;
const signupUrl = useAppSelector((state) => state.getIn(['server', 'server', 'registrations', 'url'], '/auth/sign_up'));
const signupUrl = useAppSelector((state) => state.getIn(['server', 'server', 'registrations', 'url'], null) || '/auth/sign_up');
if (registrationsOpen) {
signupButton = (