"use client"; import { useTranslation } from "react-i18next"; import Field from "@/lib/components/ui/Field"; import Spinner from "@/lib/components/ui/Spinner"; import { PublicBrainItem } from "./components/PublicBrainItem/PublicBrainItem"; import { useBrainsLibrary } from "./hooks/useBrainsLibrary"; const BrainsLibrary = (): JSX.Element => { const { displayingPublicBrains, searchBarText, setSearchBarText, isLoading } = useBrainsLibrary(); const { t } = useTranslation("brain"); return (