lbry-desktop/ui/js/component/tipLink/index.js
hackrush ae81843c05 Additional tipping fixes/changes
- [x] Display empty message on empty filtered Tx list
- [ ] Tipping form has to stay open until success is detected(or closed
by user)
- [ ] Storing the older transaction list, and refreshing the new one in
the background.

Tip Box shown until valid Txn or manually cancelled

Cleanup of show tip box logic
2017-09-17 12:54:39 -04:00

13 lines
402 B
JavaScript

import React from "react";
import { connect } from "react-redux";
import { doSendSupport, doHideTipBox } from "actions/claims";
import TipLink from "./view";
const select = state => ({});
const perform = dispatch => ({
sendSupport: (amount, claim_id) => dispatch(doSendSupport(amount, claim_id)),
hideTipBox: () => dispatch(doHideTipBox()),
});
export default connect(select, perform)(TipLink);