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