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
+2 -2
View File
@@ -12,7 +12,7 @@ import CookieBanner from "../components/cookieBanner";
import DNSSearchResults from "../components/dnssearchresults";
import Footer from "../components/footer";
import Header from "../components/header";
import { getSearchDetails } from "../components/utils";
import { getSearchDetails, hasOwn } from "../components/utils";
import { setSearch } from "../store/search/action";
import {
setSearchDetails,
@@ -143,7 +143,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
const showMapCheck = process.env.SHOWMAPS || false;
const mapTarget = process.env.MAP_TARGET || "pedw-dev";
// if (_.has(searchResultsObj, "status") == true) {
// if (hasOwn(searchResultsObj, "status") == true) {
// return {
// redirect: {
// //destination: "/dns-not-found",