mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:13:44 +08:00
fix: display error
This commit is contained in:
parent
1a76780fff
commit
54b744b7de
@ -52,12 +52,9 @@ export const LayoutItem = (props: Props) => {
|
||||
]}
|
||||
onClick={() => navigate(to)}
|
||||
>
|
||||
{menu_icon === "monochrome" ||
|
||||
(!menu_icon && (
|
||||
<ListItemIcon sx={{ color: "text.primary" }}>
|
||||
{icon[0]}
|
||||
</ListItemIcon>
|
||||
))}
|
||||
{(menu_icon === "monochrome" || !menu_icon) && (
|
||||
<ListItemIcon sx={{ color: "text.primary" }}>{icon[0]}</ListItemIcon>
|
||||
)}
|
||||
{menu_icon === "colorful" && <ListItemIcon>{icon[1]}</ListItemIcon>}
|
||||
<ListItemText
|
||||
sx={{
|
||||
|
Loading…
x
Reference in New Issue
Block a user