import { connect } from 'react-redux'; import { doNavigate } from 'redux/actions/navigation'; import NsfwOverlay from './view'; const perform = dispatch => ({ navigateSettings: () => dispatch(doNavigate('/settings')), }); export default connect(null, perform)(NsfwOverlay);