"use client"; import { useTranslations } from "next-intl"; import { BookOpen, Search } from "lucide-react"; import { EmptyState } from "@/components/shared/empty-state"; export function RecipesEmptyState({ query, count }: { query: string; count: number }) { const t = useTranslations("recipes"); if (count > 0) { return query ? (
{t(count !== 1 ? "resultPlural" : "resultSingular", { count })} {t("for")} “{query}”
) : null; } return query ? (