lbry-desktop/ui/js/component/nsfwOverlay/index.js
2017-11-13 16:02:23 -05:00

10 lines
305 B
JavaScript

import React from "react";
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);