Search for a command to run...
Clean, modern templates. Copy and paste into your apps. Works with all React frameworks. Open Source. Free forever.
import { Blog } from "@/components/blog-01" import { dictionary } from "@/registry/bases/base/blocks/blog-01/blog-01-dictionary" export default async function Page({ params, }: { params?: Promise<{ lang?: string }> }) { const { lang } = (await params) ?? {} const locale = lang === "ar" ? "ar" : "en" return <Blog dictionary={dictionary[locale]} lang={locale} /> }