♻️ refactor(Toolbar): fix transparent background

This commit is contained in:
2024-02-03 22:08:57 +01:00
parent 91c8c854f6
commit 224bb8a3ef
+1 -1
View File
@@ -85,7 +85,7 @@ const CustomToobar: React.FC<CustomToobarProps> = ({ drawerWidth = 240 }) => {
<> <>
<AppBar <AppBar
sx={{ sx={{
backgroundColor: theme => (theme.palette.mode === 'dark' ? 'transparent' : undefined), backgroundColor: theme => (theme.palette.mode === 'dark' ? 'background.paper' : undefined),
}}> }}>
<Toolbar sx={{ display: 'flex' }}> <Toolbar sx={{ display: 'flex' }}>
<IconButton <IconButton