Merged PR 2442: remove lodash dependecies on _.has

Related work items: #23754
This commit is contained in:
Robert Bond
2026-06-29 13:08:06 +00:00
parent 7b6af58065
commit ff699735c7
85 changed files with 870 additions and 952 deletions
+7 -2
View File
@@ -21,7 +21,12 @@ import {
setNewAppealProgress,
setFileCount
} from "../../store/appealType/action";
import { getFormCollectionByID, getProgressObj, updateLinks } from "../utils";
import {
getFormCollectionByID,
getProgressObj,
updateLinks,
hasOwn
} from "../utils";
import BuildRow from "./buildrow";
import {
parseXml,
@@ -436,7 +441,7 @@ let BuildSection = (props) => {
data-module="govuk-button"
onClick={() => {
getErrors();
let valuesObj = _.has(
let valuesObj = hasOwn(
legacyFormState[props.form],
"values"
)