339945018d
and refactor history
10 lines
299 B
JavaScript
10 lines
299 B
JavaScript
import React from "react";
|
|
import { connect } from "react-redux";
|
|
import { doNavigate } from "actions/navigation";
|
|
import NsfwOverlay from "./view";
|
|
|
|
const perform = dispatch => ({
|
|
navigateSettings: () => dispatch(doNavigate("/settings")),
|
|
});
|
|
|
|
export default connect(null, perform)(NsfwOverlay);
|