lbry-desktop/ui/js/component/inviteSummary/index.js
2017-08-29 14:40:30 -04:00

14 lines
383 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import {
selectUserInvitesRemaining,
selectUserInviteNewIsPending,
} from "selectors/user";
import InviteSummary from "./view";
const select = state => ({
invitesRemaining: selectUserInvitesRemaining(state),
isPending: selectUserInviteNewIsPending(state),
});
export default connect(select)(InviteSummary);