fix dashboard
This commit is contained in:
@@ -23,23 +23,6 @@ const itemList = [
|
||||
export default function Dashboard() {
|
||||
const { themeStretch } = useSettings();
|
||||
|
||||
// const [corporate, setCorporate] = useState({});
|
||||
|
||||
// const loadSomething = () => {
|
||||
// axios
|
||||
// .get('dashboard')
|
||||
// .then((res) => {
|
||||
// setCorporate(res.data.corporate);
|
||||
// })
|
||||
// .catch((err) => {
|
||||
// alert('Opps, Something Went Wrong when collecting dashboard data');
|
||||
// });
|
||||
// };
|
||||
|
||||
// useEffect(() => {
|
||||
// loadSomething();
|
||||
// }, []);
|
||||
|
||||
return (
|
||||
<Page title="Dashboard">
|
||||
<Container maxWidth={themeStretch ? false : 'xl'}>
|
||||
@@ -48,10 +31,10 @@ export default function Dashboard() {
|
||||
</Typography>
|
||||
|
||||
<Grid container spacing={2}>
|
||||
<Grid item xs={6} lg={6} md={12}>
|
||||
<Grid item xs={12} lg={6} md={12}>
|
||||
<CardNotification data={itemList} />
|
||||
</Grid>
|
||||
<Grid item xs={6} lg={6} md={12}>
|
||||
<Grid item xs={12} lg={6} md={12}>
|
||||
<CardBalance />
|
||||
</Grid>
|
||||
<Grid item xs={12} lg={12} md={12}>
|
||||
|
||||
Reference in New Issue
Block a user