From 224bb8a3ef37a99cbaf23731117ed1deae106357 Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Sat, 3 Feb 2024 22:08:57 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(Toolbar):=20fix?= =?UTF-8?q?=20transparent=20background?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/molecules/Toobar/Toobar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/molecules/Toobar/Toobar.tsx b/src/components/molecules/Toobar/Toobar.tsx index a255cbb..b155437 100644 --- a/src/components/molecules/Toobar/Toobar.tsx +++ b/src/components/molecules/Toobar/Toobar.tsx @@ -85,7 +85,7 @@ const CustomToobar: React.FC = ({ drawerWidth = 240 }) => { <> (theme.palette.mode === 'dark' ? 'transparent' : undefined), + backgroundColor: theme => (theme.palette.mode === 'dark' ? 'background.paper' : undefined), }}>