Skip to content

Commit 17bb94d

Browse files
committed
fix: remove text from navbar menu
1 parent 26e9065 commit 17bb94d

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

src/components/AppBar/index.tsx

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -72,29 +72,18 @@ export default function AppBar() {
7272
onClick={() => {
7373
dispatch(switchTheme());
7474
}}
75-
sx={{ gap: 0.5 }}
75+
sx={{ justifyContent: "center" }}
7676
>
7777
{theme.isDark ? <Brightness7Icon /> : <Brightness4Icon />}
78-
<Typography>{theme.isDark ? "Dark" : "Light"}</Typography>
7978
</MenuItem>
80-
<MenuItem>
81-
<Link
82-
to="https://github.com/LNReader/lnreader"
83-
target="_blank"
84-
style={{ gap: 4, display: "flex" }}
85-
>
79+
<MenuItem sx={{ justifyContent: "center" }}>
80+
<Link to="https://github.com/LNReader/lnreader" target="_blank">
8681
<GitHubIcon />
87-
<Typography>Github</Typography>
8882
</Link>
8983
</MenuItem>
90-
<MenuItem>
91-
<Link
92-
to="https://discord.com/invite/QdcWN4MD63"
93-
target="_blank"
94-
style={{ gap: 4, display: "flex" }}
95-
>
84+
<MenuItem sx={{ justifyContent: "center" }}>
85+
<Link to="https://discord.com/invite/QdcWN4MD63" target="_blank">
9686
<DiscordIcon />
97-
<Typography>Discord</Typography>
9887
</Link>
9988
</MenuItem>
10089
</Menu>

0 commit comments

Comments
 (0)