/* -------------------------------------------------------------------------- */ /* Libraries */ /* -------------------------------------------------------------------------- */ import React from "react"; import Modal from "components/containers/modal/Modal"; /* -------------------------------------------------------------------------- */ /* Icons/SVG */ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ /* Components */ /* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */ /* Hooks */ /* -------------------------------------------------------------------------- */ import { useUIViewModel } from "ui/controller/uiViewModel"; import { useUIStore } from "ui/data/uiSlice"; import { Combobox } from "@headlessui/react"; import { useTranslation } from "react-i18next"; /* -------------------------------------------------------------------------- */ /* Global search component */ /* -------------------------------------------------------------------------- */ export default function GlobalSearchbar() { const store = useUIStore(); const results = ["none", "nonenone"]; const {t} = useTranslation(); const { isSearchbarShown, hideSearchbar } = useUIViewModel(store); return ( {}}>
); }