Feature/remove dependency mui system (#331)

* Remove duplicated dependency "@mui/system"

Already included in "@mui/material"

* Remove duplicated dependency "@mui/system" - Fix theme "custom" palette

Already included in "@mui/material"

* Remove duplicated dependency "@mui/system" - Fix imports

Already included in "@mui/material"
This commit is contained in:
schroda
2023-06-04 21:08:39 +02:00
committed by GitHub
parent 2a6950b015
commit 6911f60eb4
37 changed files with 48 additions and 121 deletions

View File

@@ -7,9 +7,8 @@
*/
import React from 'react';
import { ListItem, ListItemIcon, Tooltip } from '@mui/material';
import { ListItem, ListItemIcon, Tooltip, styled } from '@mui/material';
import { Link, useLocation } from 'react-router-dom';
import { styled } from '@mui/system';
import { useTheme } from '@mui/material/styles';
import { NavbarItem } from 'typings';
import { useTranslation } from 'react-i18next';
@@ -17,7 +16,7 @@ import { useTranslation } from 'react-i18next';
const SideNavBarContainer = styled('div')(({ theme }) => ({
height: '100vh',
width: theme.spacing(8),
backgroundColor: theme.palette.custom,
backgroundColor: theme.palette.custom.dark,
position: 'fixed',
top: 0,
left: 0,

View File

@@ -7,8 +7,7 @@
*/
import React from 'react';
import { ListItem } from '@mui/material';
import { styled, Box } from '@mui/system';
import { ListItem, styled, Box } from '@mui/material';
import { Link as RRDLink, useLocation } from 'react-router-dom';
import { useTheme } from '@mui/material/styles';
import { NavbarItem } from 'typings';