lbry-desktop/src/renderer/component/nsfwOverlay/index.js
2018-04-18 00:13:00 -04:00

9 lines
278 B
JavaScript

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);