1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

fix lint issues

This commit is contained in:
Maurits Lourens 2021-07-26 15:22:14 +02:00
parent cc7a1679f0
commit f2c26a90c3
4 changed files with 5 additions and 5 deletions

View file

@ -45,6 +45,6 @@ export default [
},
{
name: "Clear Form",
component: ClearForm
component: ClearForm,
},
]

View file

@ -6,7 +6,7 @@ export const ActionTypes = {
ValidateForm: "ValidateForm",
RefreshDatasource: "RefreshDatasource",
SetDataProviderQuery: "SetDataProviderQuery",
ClearForm: "ClearForm"
ClearForm: "ClearForm",
}
export const ApiVersion = "1"

View file

@ -103,7 +103,7 @@ const handlerMap = {
["Validate Form"]: validateFormHandler,
["Refresh Datasource"]: refreshDatasourceHandler,
["Log Out"]: logoutHandler,
["Clear Form"]: clearFormHandler
["Clear Form"]: clearFormHandler,
}
const confirmTextMap = {

View file

@ -68,9 +68,9 @@
const fields = Object.keys(fieldMap)
fields.forEach(field => {
const { fieldApi } = fieldMap[field]
fieldApi.clearValue();
fieldApi.clearValue()
})
}
},
}
// Provide both form API and state to children