import React from "react"; import { Button, PageHeader, Card, Row, Col } from "antd"; import { store } from "../../utils/useStore"; import { observer } from "mobx-react-lite"; import { DropboxOutlined, DollarCircleOutlined, BarChartOutlined, } from "@ant-design/icons"; export const Home = observer(() => { return (
{store.ui.mediaQuery.isDesktop && ( Total Transaksi}> Total Transaksi : 25 Transaksi Total Keuntungan}> {new Intl.NumberFormat("id-ID", { style: "currency", currency: "IDR", }).format(store.authentication.profileData?.wallet || 0)} Saldo}> {new Intl.NumberFormat("id-ID", { style: "currency", currency: "IDR", }).format(store.authentication.profileData?.wallet || 0)} )} {store.ui.mediaQuery.isMobile && (
Total Transaksi}> Total Transaksi : 25 Transaksi Total Keuntungan}> Rp.30.000.000 Saldo}> Rp.200.000.000
)}
); });