lbry-desktop/ui/js/component/nsfwOverlay/index.js
hackrush e3bbb6fcef "Fixed NSFW content showing on filePage"
NSFW content is obscured on show page and gives an overlay to inform
the user. Fixes #286

Added one additional format(epub) in lbry.js.
2017-06-27 14:18:30 -04:00

10 lines
292 B
JavaScript

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