|
|
@ -2,7 +2,7 @@ import { createSelector } from 'reselect' |
|
|
|
import { ipcRenderer } from 'electron' |
|
|
|
import { btc, usd } from '../utils' |
|
|
|
import { setForm, resetForm } from './form' |
|
|
|
import { showModal, hideModal } from './modal' |
|
|
|
import { showModal } from './modal' |
|
|
|
|
|
|
|
// ------------------------------------
|
|
|
|
// Constants
|
|
|
@ -88,7 +88,7 @@ export const sendSuccessful = (event, { amount, addr, txid }) => (dispatch) => { |
|
|
|
dispatch(resetForm()) |
|
|
|
} |
|
|
|
|
|
|
|
export const sendCoinsError = (event, { error }) => (dispatch) => { |
|
|
|
export const sendCoinsError = () => (dispatch) => { |
|
|
|
dispatch({ type: PAYMENT_FAILED }) |
|
|
|
} |
|
|
|
|
|
|
|