import React from 'react'; import { connect } from 'react-redux'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Icon from 'soapbox/components/icon'; import { NavLink } from 'react-router-dom'; import { FormattedMessage } from 'react-intl'; const mapStateToProps = (state, props) => ({ instance: state.get('instance'), }); export default @connect(mapStateToProps) class AdminNav extends React.PureComponent { static propTypes = { instance: ImmutablePropTypes.map.isRequired, }; render() { const { instance } = this.props; return (
); } }