Common components refactor #1
|
@ -84,12 +84,14 @@ export function doAbandonClaim(txid, nout) {
|
|||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
});
|
||||
|
||||
const errorCallback = () => {
|
||||
dispatch(doNotify({
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
dispatch(
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
doNotify({
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
title: 'Transaction failed',
|
||||
message: 'Transaction failed',
|
||||
type: 'error',
|
||||
displayType: ['modal', 'toast']
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
}));
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
displayType: ['modal', 'toast'],
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
})
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
);
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
};
|
||||
|
||||
const successCallback = results => {
|
||||
|
@ -103,12 +105,14 @@ export function doAbandonClaim(txid, nout) {
|
|||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
dispatch(doResolveUri(buildURI({ name, claimId })));
|
||||
dispatch(doFetchClaimListMine());
|
||||
} else {
|
||||
dispatch(doNotify({
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
dispatch(
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
doNotify({
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
title: 'Transaction failed',
|
||||
message: 'Transaction failed',
|
||||
type: 'error',
|
||||
displayType: ['modal', 'toast']
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
}));
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
displayType: ['modal', 'toast'],
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
})
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
);
|
||||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|||
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
All of these will need to be removed from other actions. All of these will need to be removed from other actions.
|
|
@ -98,12 +98,14 @@ export function doSendDraftTransaction() {
|
|||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
const amount = selectDraftTransactionAmount(state);
|
||||
|
||||
if (balance - amount <= 0) {
|
||||
dispatch(doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
dispatch(
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
title: 'Insufficient credits',
|
||||
message: 'Insufficient credits',
|
||||
type: 'error',
|
||||
displayType: ['modal', 'toast']
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
}));
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
displayType: ['modal', 'toast'],
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
})
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
);
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -116,25 +118,29 @@ export function doSendDraftTransaction() {
|
|||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
dispatch({
|
||||
type: ACTIONS.SEND_TRANSACTION_COMPLETED,
|
||||
});
|
||||
dispatch(doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
dispatch(
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
title: 'Credits sent',
|
||||
message: `You sent ${amount} LBC`,
|
||||
type: 'error',
|
||||
displayType: ['snackbar', 'toast'],
|
||||
linkText: 'History',
|
||||
linkTarget: '/wallet'
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
}));
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
linkTarget: '/wallet',
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
})
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
);
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
} else {
|
||||
dispatch({
|
||||
type: ACTIONS.SEND_TRANSACTION_FAILED,
|
||||
data: { error: results },
|
||||
});
|
||||
dispatch(doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
dispatch(
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
title: 'Transaction failed',
|
||||
message: 'Transaction failed',
|
||||
type: 'error',
|
||||
displayType: ['modal', 'toast']
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
}));
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
displayType: ['modal', 'toast'],
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
})
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
);
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -143,12 +149,14 @@ export function doSendDraftTransaction() {
|
|||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
type: ACTIONS.SEND_TRANSACTION_FAILED,
|
||||
data: { error: error.message },
|
||||
});
|
||||
dispatch(doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
dispatch(
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
title: 'Transaction failed',
|
||||
message: 'Transaction failed',
|
||||
type: 'error',
|
||||
displayType: ['modal', 'toast']
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
}));
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
displayType: ['modal', 'toast'],
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
})
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
);
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
};
|
||||
|
||||
Lbry.wallet_send({
|
||||
|
@ -178,12 +186,14 @@ export function doSendSupport(amount, claimId, uri, successCallback, errorCallba
|
|||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
const balance = selectBalance(state);
|
||||
|
||||
if (balance - amount <= 0) {
|
||||
dispatch(doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
dispatch(
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
doNotify({
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
title: 'Insufficient credits',
|
||||
message: 'Insufficient credits',
|
||||
type: 'error',
|
||||
displayType: ['modal', 'toast']
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
}));
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
displayType: ['modal', 'toast'],
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
})
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
);
|
||||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|||
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
https://github.com/lbryio/lbry-app/blob/master/src/renderer/redux/actions/wallet.js#L12
Yes, we did. I was supposed to delete the You can see the notifications related code in > Did we decide on something like `DO_NOTIFY`?
Yes, we did. I was supposed to delete the `src/redux/actions/app.js` file. It's not used anywhere in `lbry-redux` at this point.
You can see the notifications related code in `src/redux/actions/notification.js`, `src/redux/reducers/notification.js` and `src/redux/selectors/notification.js`. We'll need to update `lbry-app` to make use of the new action, which will be the next step after the merge is completed.
|
All of these will need to be removed from other actions.