import { ProfitChart } from "./components/ProfitChart/ProfitChart.tsx";
import styles from "../../ui/StatisticsPage.module.css";
import { ProfitTable } from "./components/ProfitTable/ProfitTable.tsx";
import { ProfitTabContextProvider } from "./contexts/ProfitTabContext.tsx";

export const ProfitTab = () => {
    return (
        <ProfitTabContextProvider>
            <div className={styles["page-container"]}>
                <ProfitChart />
                <ProfitTable />
            </div>
        </ProfitTabContextProvider>
    );
};