1
0
Fork 0
forked from gitea/nas

Merge commit '14bb6bb29a' into kb_migration

This commit is contained in:
KMY 2023-05-31 12:34:11 +09:00
commit 5b8ca44e3d
20 changed files with 726 additions and 169 deletions

View file

@ -13,7 +13,7 @@ import { registrationsOpen } from 'mastodon/initial_state';
const mapStateToProps = (state, { accountId }) => ({
displayNameHtml: state.getIn(['accounts', accountId, 'display_name_html']),
signupUrl: state.getIn(['server', 'server', 'registrations', 'url'], '/auth/sign_up') || '/auth/sign_up',
signupUrl: state.getIn(['server', 'server', 'registrations', 'url'], null) || '/auth/sign_up',
});
const mapDispatchToProps = (dispatch) => ({