import React from "react"; import Link from "component/link"; import { CreditAmount, BusyMessage } from "component/common"; const InviteSummary = props => { const { isPending, invitesRemaining } = props; console.log(invitesRemaining); return (

{__("Invites")}

{isPending && } {!isPending &&

{__n( "You have %d invite remaining.", "You have %d invites remaining.", invitesRemaining )}

}
0 ? "primary" : "text"} navigate="/invite" label={__("Go To Invites")} />
); }; export default InviteSummary;