import type { Metadata } from "next";
import { generateSeoPageMetadata } from "@/lib/i18n/server";
import ChatSocketProvider from "@/providers/ChatSocketProvider";

export async function generateMetadata(): Promise<Metadata> {
  return generateSeoPageMetadata("settingsChats", { index: false });
}

export default function Layout({ children }: { children: React.ReactNode }) {
  return <ChatSocketProvider>{children}</ChatSocketProvider>;
}
