Merge pull request #35 from dan1d/add-confirmation-modal
Add confirm transaction modal.
This commit is contained in:
commit
8db54c08dd
3 changed files with 11 additions and 3 deletions
9
dist/bundle.js
vendored
9
dist/bundle.js
vendored
|
@ -5233,7 +5233,9 @@ reducers[ACTIONS.CREATE_NOTIFICATION] = function (state, action) {
|
|||
id = notification.id;
|
||||
var uri = notificationProps.uri,
|
||||
nout = notificationProps.nout,
|
||||
txid = notificationProps.txid;
|
||||
txid = notificationProps.txid,
|
||||
amount = notificationProps.amount,
|
||||
address = notificationProps.address;
|
||||
|
||||
|
||||
var queue = Object.assign([], state.queue);
|
||||
|
@ -5249,7 +5251,9 @@ reducers[ACTIONS.CREATE_NOTIFICATION] = function (state, action) {
|
|||
notificationProps: {
|
||||
uri: uri,
|
||||
txid: txid,
|
||||
nout: nout
|
||||
nout: nout,
|
||||
amount: amount,
|
||||
address: address
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -5318,6 +5322,7 @@ var FIRST_SUBSCRIPTION = exports.FIRST_SUBSCRIPTION = 'firstSubscription';
|
|||
var SEND_TIP = exports.SEND_TIP = 'send_tip';
|
||||
var PUBLISH = exports.PUBLISH = 'publish';
|
||||
var SEARCH = exports.SEARCH = 'search';
|
||||
var CONFIRM_TRANSACTION = exports.CONFIRM_TRANSACTION = 'confirm_transaction';
|
||||
|
||||
/***/ }),
|
||||
/* 35 */
|
||||
|
|
|
@ -21,3 +21,4 @@ export const FIRST_SUBSCRIPTION = 'firstSubscription';
|
|||
export const SEND_TIP = 'send_tip';
|
||||
export const PUBLISH = 'publish';
|
||||
export const SEARCH = 'search';
|
||||
export const CONFIRM_TRANSACTION = 'confirm_transaction';
|
||||
|
|
|
@ -11,7 +11,7 @@ const defaultState = {
|
|||
reducers[ACTIONS.CREATE_NOTIFICATION] = (state, action) => {
|
||||
const { notification, notificationProps } = action.data;
|
||||
const { title, message, type, error, displayType, id } = notification;
|
||||
const { uri, nout, txid } = notificationProps;
|
||||
const { uri, nout, txid, amount, address } = notificationProps;
|
||||
|
||||
const queue = Object.assign([], state.queue);
|
||||
queue.push({
|
||||
|
@ -27,6 +27,8 @@ reducers[ACTIONS.CREATE_NOTIFICATION] = (state, action) => {
|
|||
uri,
|
||||
txid,
|
||||
nout,
|
||||
amount,
|
||||
address,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue