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);