Skip to content

Commit c473ae0

Browse files
committed
feat: status indicator added to index
1 parent 28fc901 commit c473ae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

react-admin/src/scenes/dashboard/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Box, Button, IconButton, Typography, useTheme } from "@mui/material";
22
import { tokens } from "../../theme";
3-
import { mockTransactions } from "../../data/mockData";
43
import DownloadOutlinedIcon from "@mui/icons-material/DownloadOutlined";
54
import EmailIcon from "@mui/icons-material/Email";
65
import PointOfSaleIcon from "@mui/icons-material/PointOfSale";
@@ -13,6 +12,7 @@ import BarChart from "../../components/BarChart";
1312
import StatBox from "../../components/StatBox";
1413
import ProgressCircle from "../../components/ProgressCircle";
1514
import {useEffect, useState} from "react";
15+
import StatusIndicator from "../../components/StatusIndicator";
1616

1717
const Dashboard = () => {
1818
const theme = useTheme();
@@ -24,7 +24,6 @@ const Dashboard = () => {
2424
fetch('https://jsonplaceholder.typicode.com/posts?_limit=10')
2525
.then((response) => response.json())
2626
.then((data) => {
27-
console.log(data);
2827
setPosts(data);
2928
})
3029
.catch((err) => {
@@ -37,6 +36,7 @@ const Dashboard = () => {
3736
{/* HEADER */}
3837
<Box display="flex" justifyContent="space-between" alignItems="center">
3938
<Header title="DASHBOARD" subtitle="Welcome to your dashboard" />
39+
<StatusIndicator />
4040

4141
<Box>
4242
<Button

0 commit comments

Comments
 (0)