import { getDictionary } from "@/lib/dictionaries";
import { TerminalClient } from "./terminal-client";

export default async function TerminalPage({
  params,
}: {
  params: Promise<{ lang: string }>;
}) {
  const { lang } = await params;
  const dict = await getDictionary(lang);

  return <TerminalClient dict={dict.terminal} />;
}
