import { getTranslations, setRequestLocale } from "next-intl/server"; import { FlasherPanel } from "@/components/flasher-panel"; type Props = { params: Promise<{ locale: string }> }; export default async function HomePage({ params }: Props) { const { locale } = await params; setRequestLocale(locale); const t = await getTranslations("hero"); return (
{t("lede")}