15 lines
406 B
TypeScript
15 lines
406 B
TypeScript
import { useTranslations } from "next-intl";
|
|
import { setRequestLocale } from "next-intl/server";
|
|
import { RoomList } from "@/components/home/room-list";
|
|
|
|
export default async function OdalarPage({ params }: { params: Promise<{ locale: string }> }) {
|
|
const { locale } = await params;
|
|
setRequestLocale(locale);
|
|
|
|
return (
|
|
<div className="pt-24 min-h-screen">
|
|
<RoomList />
|
|
</div>
|
|
);
|
|
}
|