import { LayoutForum_Main } from "@/app_modules/forum"; import { User_getUserId } from "@/app_modules/fun_global/get_user_token"; import { user_getOneById } from "@/app_modules/home/fun/get/get_one_user_by_id"; import React from "react"; export default async function Layout({ children, }: { children: React.ReactNode; }) { const authorId = await User_getUserId(); const dataAuthor = await user_getOneById(authorId); return ( <> {children} ); }