'use server';
import { DashboardLayout } from "@/layouts/dashboard/layout";
import { MaindasboardPageProps } from "@/validations/mutual/dashboard/props";

const MainTrPage: React.FC<MaindasboardPageProps> = async ({ params, searchParams }) => {
  const parameters = await params;
  const searchParameters = await searchParams;
  return (
    <div className="flex flex-col items-center justify-center">
      <DashboardLayout lang="tr" params={parameters} searchParams={searchParameters} />
    </div>
  );
}

export default MainTrPage;
