lint
This commit is contained in:
parent
ec586191e7
commit
1d15e4a999
|
@ -61,7 +61,9 @@ export const API = createAPIClient({
|
||||||
const validationErrors = error?.json?.validationErrors
|
const validationErrors = error?.json?.validationErrors
|
||||||
if (validationErrors) {
|
if (validationErrors) {
|
||||||
for (let field in validationErrors) {
|
for (let field in validationErrors) {
|
||||||
notificationStore.actions.error(`${field} ${validationErrors[field]}`)
|
notificationStore.actions.error(
|
||||||
|
`${field} ${validationErrors[field]}`
|
||||||
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
notificationStore.actions.error(message)
|
notificationStore.actions.error(message)
|
||||||
|
|
Loading…
Reference in New Issue