import React from 'react'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { NavLink, withRouter } from 'react-router-dom'; import { FormattedMessage } from 'react-intl'; import Icon from 'flavours/glitch/components/icon'; import NotificationsCounterIcon from './notifications_counter_icon'; import FollowRequestsNavLink from './follow_requests_nav_link'; import ListPanel from './list_panel'; import { openModal } from 'flavours/glitch/actions/modal'; import { connect } from 'react-redux'; const mapStateToProps = () => {}; const mapDispatchToProps = dispatch => ({ openSettings (e) { e.preventDefault(); e.stopPropagation(); dispatch(openModal('SETTINGS', {})); }, }); export default @connect(mapStateToProps, mapDispatchToProps) @withRouter class NavigationPanel extends ImmutablePureComponent { render() { const { openSettings } = this.props; return (
); }; };