1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Fix linting issues

This commit is contained in:
Adria Navarro 2023-06-16 10:08:31 +01:00
parent 86a291d371
commit aafb294749

View file

@ -58,7 +58,7 @@ export const createValidationStore = () => {
const observe = async (propertyName, value) => {
const values = get(validation).values
let fieldIsValid
if (!values.hasOwnProperty(propertyName)) {
if (!Object.prototype.hasOwnProperty.call(values, propertyName)) {
// Initial setup
values[propertyName] = value
return