#
vincentlu
昨天 8a4755489c7c20bf21f481b272f87bc29a2d36c7
rsf-admin/src/page/dashboard/index.jsx
@@ -10,6 +10,7 @@
import WifiIcon from '@mui/icons-material/Wifi';
import request from '@/utils/request';
import { Box, Typography, LinearProgress, Stack } from '@mui/material';
import NbChart from "./NbChart";
const styles = {
    flex: { display: 'flex' },
@@ -85,6 +86,29 @@
        })
    }, [])
    const recentOrders = [
        {
            date: "2025-08-10T12:23:56.959Z",
            total: 138.94
        },
        {
            date: "2025-08-03T07:45:00.304Z",
            total: 214.66
        },
        {
            date: "2025-07-28T00:20:10.968Z",
            total: 68.19
        },
        {
            date: "2025-07-22T20:39:00.293Z",
            total: 36.56
        },
        {
            date: "2025-07-16T17:40:24.791Z",
            total: 100.82
        },
    ]
    return (
        <>
            <div style={styles.flex}>
@@ -103,7 +127,7 @@
                        />
                    </div>
                    <div style={styles.singleCol}>
                        {/* <OrderChart orders={recentOrders} /> */}
                        <NbChart orders={recentOrders} />
                    </div>
                    <div style={styles.singleCol}>
                        {/* <PendingOrders orders={pendingOrders} /> */}