lbry-desktop/ui/js/component/nsfwOverlay/index.js

11 lines
305 B
JavaScript
Raw Normal View History

import React from "react";
import { connect } from "react-redux";
2017-11-13 22:02:23 +01:00
import { doNavigate } from "redux/actions/navigation";
import NsfwOverlay from "./view";
const perform = dispatch => ({
navigateSettings: () => dispatch(doNavigate("/settings")),
});
export default connect(null, perform)(NsfwOverlay);