// @mui import { Button, Container, Grid, styled, Typography, Card, Stack } from '@mui/material'; // hooks import useSettings from '../hooks/useSettings'; // components import Page from '../components/Page'; import axios from '../utils/axios'; import useAuth from '../hooks/useAuth'; import SomethingUsage from '../sections/dashboard/SomethingUsage'; import { fCurrency } from '../utils/formatNumber'; // ---------------------------------------------------------------------- export default function Dashboard() { const { themeStretch } = useSettings(); const { logout } = useAuth(); const loadSomething = () => { axios.get('/user') }; const DangerCard = styled(Card)(({ theme }) => ({ boxShadow: 'none', padding: theme.spacing(3), color: theme.palette.error.main, backgroundColor: theme.palette.error.lighter, })); const SuccessCard = styled(Card)(({ theme }) => ({ boxShadow: 'none', padding: theme.spacing(3), color: theme.palette.success.darker, backgroundColor: theme.palette.success.lighter, })); return ( Dashboard This Month Usages {fCurrency(15000000)} (57)
Remaining Balance Estimation November 2022
); }