From f8e8c21ee38728e60eaf4e51cce3c282c77db704 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 14 Dec 2023 17:42:29 -0700 Subject: [PATCH] AppBar: Fix incorrect color in light mode Signed-off-by: Zack Cerza --- src/components/AppBar/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/AppBar/index.tsx b/src/components/AppBar/index.tsx index 3f3ceff..e48a3b3 100644 --- a/src/components/AppBar/index.tsx +++ b/src/components/AppBar/index.tsx @@ -1,6 +1,5 @@ import { Link as RouterLink } from "react-router-dom"; import { styled } from '@mui/material/styles'; -import { useTheme } from "@mui/material/styles"; import IconButton from "@mui/material/IconButton"; import MenuIcon from "@mui/icons-material/Menu"; import Brightness4Icon from "@mui/icons-material/Brightness4"; @@ -54,8 +53,6 @@ type AppBarProps = { }; export default function AppBar(props: AppBarProps) { - const theme = useTheme(); - return ( @@ -80,7 +77,7 @@ export default function AppBar(props: AppBarProps) {