mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix: fix errors.
This commit is contained in:
@@ -107,9 +107,7 @@ function PaymentMadeForm({
|
||||
|
||||
const onError = ({
|
||||
response: {
|
||||
error: {
|
||||
data: { errors },
|
||||
},
|
||||
data: { errors },
|
||||
},
|
||||
}) => {
|
||||
const getError = (errorType) => errors.find((e) => e.type === errorType);
|
||||
|
||||
Reference in New Issue
Block a user