import React from "react";
import CompanyTeamCashFlow from "./CompanyTeamCashFlow";
import { fetchUserAbilities, fetchUserStaff } from "@/app/utils/fetchUtil";

const CompanyTeamCashFlowWrapper: React.FC = async () => {
      const [abilities, staff] = await Promise.all([fetchUserAbilities(), fetchUserStaff()]);

    return <CompanyTeamCashFlow abilities={abilities} staff={staff}/>;
};

export default CompanyTeamCashFlowWrapper;