fix: fix errors.

This commit is contained in:
elforjani13
2021-12-16 21:11:21 +02:00
parent fcd1a8849d
commit 8390e5ea6b
7 changed files with 22 additions and 18 deletions

View File

@@ -107,9 +107,7 @@ function PaymentMadeForm({
const onError = ({
response: {
error: {
data: { errors },
},
data: { errors },
},
}) => {
const getError = (errorType) => errors.find((e) => e.type === errorType);