From 5cc2660fb9d82f4ee8250706e7eb7e0bed4b6f2e Mon Sep 17 00:00:00 2001 From: Walter Buczacka Date: Fri, 19 Apr 2024 13:41:10 -0300 Subject: [PATCH] add focus reference --- packages/next/cms/components/fields/ProfileSearch.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/next/cms/components/fields/ProfileSearch.js b/packages/next/cms/components/fields/ProfileSearch.js index a45f3f5fe..b14ea8b78 100644 --- a/packages/next/cms/components/fields/ProfileSearch.js +++ b/packages/next/cms/components/fields/ProfileSearch.js @@ -26,7 +26,7 @@ import ProfileTile from "./ProfileTile"; import groupMeta from "../../utils/groupMeta"; import stripHTML from "../../utils/formatters/stripHTML"; import NonIdealState from "../../../core/components/NonIdealState"; -import {useFocus} from "./useFocus"; +import {useFocus} from "../../hooks/useFocus"; function DimensionFilters({ activeProfile, @@ -267,7 +267,6 @@ export function ProfileSearch({ const {locale} = useRouter(); const resultContainer = useRef(null); - const textInput = useRef(null); const [query, setQuery] = useState(""); const [active, setActive] = useState(false);