lbry-desktop/ui/js/modal/modalInsufficientBalance/index.js
Jeremy Kauffman ff12ff3d36 merge cleanup
2017-09-07 09:38:44 -04:00

17 lines
481 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import { doCloseModal } from "actions/app";
import { doNavigate } from "actions/navigation";
import ModalInsufficientBalance from "./view";
const select = state => ({});
const perform = dispatch => ({
addBalance: () => {
dispatch(doNavigate("/wallet"));
dispatch(doCloseModal());
},
closeModal: () => dispatch(doCloseModal()),
});
export default connect(select, perform)(ModalInsufficientBalance);