Browse Source

fix(payment): accidentally put an s at the end of dispatch

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
c08e27a772
  1. 2
      app/reducers/payment.js

2
app/reducers/payment.js

@ -69,7 +69,7 @@ export const payInvoice = paymentRequest => (dispatch) => {
// TODO: Add payment to state, not a total re-fetch
export const paymentSuccessful = () => (dispatch) => {
// Dispatch successful payment to stop loading screen
dispatchs(paymentSuccessfull())
dispatch(paymentSuccessfull())
// Close the form modal once the payment was succesful
dispatch(setFormType(null))

Loading…
Cancel
Save