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>
  );
}
