diff --git a/app/reducers/payment.js b/app/reducers/payment.js index 3fe6db5e..4bfdf453 100644 --- a/app/reducers/payment.js +++ b/app/reducers/payment.js @@ -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 }) }