Add server banner to web app, add GET /api/v2/instance
to REST API (#19294)
This commit is contained in:
@ -7,7 +7,7 @@ import Button from 'mastodon/components/button';
|
||||
import Option from './components/option';
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
rules: state.get('rules'),
|
||||
rules: state.getIn(['server', 'rules']),
|
||||
});
|
||||
|
||||
export default @connect(mapStateToProps)
|
||||
|
Reference in New Issue
Block a user