Merged PR 2442: remove lodash dependecies on _.has
Related work items: #23754
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import _ from "lodash";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
import { useRouter } from "next/router";
|
||||
import { useState } from "react";
|
||||
@@ -13,6 +12,7 @@ import {
|
||||
bytesToSize,
|
||||
getThumbnailIconByExtension,
|
||||
formatDates,
|
||||
hasOwn,
|
||||
updateLinks,
|
||||
getDocLink
|
||||
} from "../../utils";
|
||||
@@ -399,7 +399,7 @@ const RepCompleteSubmit = (props) => {
|
||||
</a> */}
|
||||
</dd>
|
||||
</div>
|
||||
{_.has(
|
||||
{hasOwn(
|
||||
repFormData,
|
||||
"representationOnBehalfOf"
|
||||
) && (
|
||||
|
||||
Reference in New Issue
Block a user