'use server';
import { FC } from "react";
import { DashboardLayoutProps } from "@/validations/mutual/dashboard/props";
import { ClientLayout } from "./client";

const DashboardLayout: FC<DashboardLayoutProps> = async ({ params, searchParams }) => {
    const activePageUrl = `/${params.page?.join('/')}`; return <ClientLayout activePageUrl={activePageUrl} searchParams={searchParams} />
}

export { DashboardLayout };
