import { getAssets } from '@/actions/asset';
import { getTransactions } from '@/actions/transaction';
import TransactionsPageClient from './transactions-client';

export default async function TransactionsPage() {
  const [assets, transactions] = await Promise.all([
    getAssets(),
    getTransactions(),
  ]);

  return <TransactionsPageClient assets={assets} transactions={transactions} />;
}
