lbry-desktop/ui/page/wallet/index.js

14 lines
353 B
JavaScript
Raw Normal View History

2019-06-17 22:32:38 +02:00
import { connect } from 'react-redux';
import { selectTotalBalance } from 'lbry-redux';
2020-06-01 19:03:19 +02:00
import { doOpenModal } from 'redux/actions/app';
updated code about to test something generate programatically beginning of the frontend stripe integration page seems to be working add user put functionality behind conditional tag connect frontend working well adding environment variables to save success and failure url bugfix bugfix final clean up adding credit card page seems to be coming along calls successfully coming from the frontend fixing up frontend cleaning up frontend coming along client secret working basic frontend in place adding tip page adding more to the tip frontend frontend almost done tabs coming along one last thing to do for frontend adding explainer text as custom function putting finishing touches on tabs support tabs working well disable fiat toggle when card not connected fix frontend gui bug bugfix and pull out label function fix symbol for tip gui modal when card is not yet saved fix fiat disabled bug knowing whether card is added programatically sending tip with frontend tip functionality working show unpaid balance add frontend for card add section update frontend update frontend bugfix change to use react instead of css update how stripe is instantiated fix bug use customer setup coming along working but needs optimization persist if card is saved adding anonymous tip functionality fix nan bug build stripe endpoints programatically show for all users for time being allow the stripe key to automatically switch to live environment bugfix bugfix fix jslint fix channel page support button better docs show customer transactions on frontend basic table in place various page updates per jeremys notes showing card details nicer tip history table add better prompt to add card on file viewer page some linting time put connect account behind fiat enabled no persist fiat mode wallet calls tip stuff
2021-07-03 19:19:23 +02:00
import { selectUser } from 'redux/selectors/user';
2019-06-17 22:32:38 +02:00
import Wallet from './view';
2020-06-01 19:03:19 +02:00
const select = state => ({
totalBalance: selectTotalBalance(state),
2020-06-01 19:03:19 +02:00
});
2019-06-17 22:32:38 +02:00
2020-06-01 19:03:19 +02:00
export default connect(select, {
doOpenModal,
})(Wallet);