import { serverClient } from "@/lib/trpc/server" import SectionContainer from "@/components/Section/Container" import SectionHeader from "@/components/Section/Header" import SectionLink from "@/components/Section/Link" import ClientEarnAndBurn from "./Client" import type { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage" export default async function EarnAndBurn({ lang, link, subtitle, title, }: AccountPageComponentProps) { const initialTransactions = await serverClient().user.transaction.friendTransactions({ limit: 5 }) if (!initialTransactions) { return null } return ( ) }