1
0
Fork 0
forked from gitea/nas

Fix not able to click sign in button

This commit is contained in:
KMY 2023-05-27 08:55:42 +09:00
parent b85c70b827
commit 875065bf5f

View file

@ -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'], '/auth/sign_up') || '/auth/sign_up');
if (registrationsOpen) {
signupButton = (