aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/Header/Header.tsx
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2022-02-22 21:50:14 +0100
committerQuentin Gliech <quentingliech@gmail.com>2022-02-22 21:50:14 +0100
commitfd17d6dd1f7c9fbda4d3c3e2c2eb232bd9086fab (patch)
tree436108fbaa0d386b642768a90e90c1ad33d6fad2 /webui/src/components/Header/Header.tsx
parentb0eb041e571dd616a9926d969bb42b3e7d6512e9 (diff)
downloadgit-bug-fd17d6dd1f7c9fbda4d3c3e2c2eb232bd9086fab.tar.gz
webui: upgrade Material UI
Diffstat (limited to 'webui/src/components/Header/Header.tsx')
-rw-r--r--webui/src/components/Header/Header.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/webui/src/components/Header/Header.tsx b/webui/src/components/Header/Header.tsx
index f9053f76..961696d7 100644
--- a/webui/src/components/Header/Header.tsx
+++ b/webui/src/components/Header/Header.tsx
@@ -1,12 +1,12 @@
+import AppBar from '@mui/material/AppBar';
+import Tab, { TabProps } from '@mui/material/Tab';
+import Tabs from '@mui/material/Tabs';
+import Toolbar from '@mui/material/Toolbar';
+import Tooltip from '@mui/material/Tooltip/Tooltip';
+import { alpha } from '@mui/material/styles';
+import makeStyles from '@mui/styles/makeStyles';
import { Link, useLocation } from 'react-router-dom';
-import AppBar from '@material-ui/core/AppBar';
-import Tab, { TabProps } from '@material-ui/core/Tab';
-import Tabs from '@material-ui/core/Tabs';
-import Toolbar from '@material-ui/core/Toolbar';
-import Tooltip from '@material-ui/core/Tooltip/Tooltip';
-import { fade, makeStyles } from '@material-ui/core/styles';
-
import CurrentIdentity from '../Identity/CurrentIdentity';
import { LightSwitch } from '../Themer';
@@ -30,7 +30,7 @@ const useStyles = makeStyles((theme) => ({
},
lightSwitch: {
marginRight: '20px',
- color: fade(theme.palette.primary.contrastText, 0.5),
+ color: alpha(theme.palette.primary.contrastText, 0.5),
},
logo: {
height: '42px',