mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:33:45 +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)}
|
onClick={() => navigate(to)}
|
||||||
>
|
>
|
||||||
{menu_icon === "monochrome" ||
|
{(menu_icon === "monochrome" || !menu_icon) && (
|
||||||
(!menu_icon && (
|
<ListItemIcon sx={{ color: "text.primary" }}>{icon[0]}</ListItemIcon>
|
||||||
<ListItemIcon sx={{ color: "text.primary" }}>
|
)}
|
||||||
{icon[0]}
|
|
||||||
</ListItemIcon>
|
|
||||||
))}
|
|
||||||
{menu_icon === "colorful" && <ListItemIcon>{icon[1]}</ListItemIcon>}
|
{menu_icon === "colorful" && <ListItemIcon>{icon[1]}</ListItemIcon>}
|
||||||
<ListItemText
|
<ListItemText
|
||||||
sx={{
|
sx={{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user