diff --git a/docs/src/components/HeadingLanguageSelect.tsx b/docs/src/components/HeadingLanguageSelect.tsx index 73f85875..69401df6 100644 --- a/docs/src/components/HeadingLanguageSelect.tsx +++ b/docs/src/components/HeadingLanguageSelect.tsx @@ -3,6 +3,7 @@ import { PathParts, languageSlugsToLabels, } from "@/lib/languageFromPath"; +import { useResizing } from "@/lib/useResizing"; import clsx from "clsx"; import { Dispatch, SetStateAction } from "react"; import { Button } from "./Button"; @@ -22,8 +23,9 @@ export function HeadingLanguageSelect({ isOpen, handleChange, }: HeadingLanguageSelectProps) { + const resizing = useResizing(); return ( -
+