diff --git a/src/components/menu-settings/MenuSelectLanguage.tsx b/src/components/menu-settings/MenuSelectLanguage.tsx index 8184b596..cdcb769f 100644 --- a/src/components/menu-settings/MenuSelectLanguage.tsx +++ b/src/components/menu-settings/MenuSelectLanguage.tsx @@ -12,7 +12,7 @@ import useClickOutside from "@/hooks/useClickOutside"; import useOpenClose from "@/hooks/useOpenClose"; export default function MenuSelectLanguage() { - const { isOpen, close } = useOpenClose(false); + const { isOpen, close, toggle } = useOpenClose(false); const componentRef = useRef(null); useClickOutside(componentRef, () => close()); const { setSettingsOpen } = useSettingsModalStore(); @@ -43,7 +43,7 @@ export default function MenuSelectLanguage() {
{t("language")}