Skip to content

Commit

Permalink
AppBar: Fix incorrect color in light mode
Browse files Browse the repository at this point in the history
Signed-off-by: Zack Cerza <[email protected]>
  • Loading branch information
zmc committed Dec 15, 2023
1 parent 81be038 commit f8e8c21
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/AppBar/index.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -54,8 +53,6 @@ type AppBarProps = {
};

export default function AppBar(props: AppBarProps) {
const theme = useTheme();

return (
<StyledMuiAppBar position="static" className={classes.appBar}>
<Toolbar>
Expand All @@ -80,7 +77,7 @@ export default function AppBar(props: AppBarProps) {
<RouterLink
to="/"
style={{
color: theme.palette.text.primary,
color: "inherit",
textDecoration: "none",
marginLeft: "12px",
}}
Expand Down

0 comments on commit f8e8c21

Please sign in to comment.