From a5c45497226c9e7f8f8cb45bcb8faeb65340dd5a Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Sun, 10 Mar 2024 20:48:13 +0800 Subject: [PATCH] style: Adjust icon color --- src/components/layout/layout-item.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/layout/layout-item.tsx b/src/components/layout/layout-item.tsx index 37be8229..a00c5d97 100644 --- a/src/components/layout/layout-item.tsx +++ b/src/components/layout/layout-item.tsx @@ -52,7 +52,9 @@ export const LayoutItem = (props: Props) => { ]} onClick={() => navigate(to)} > - {menu_icon === "monochrome" && {icon[0]}} + {menu_icon === "monochrome" && ( + {icon[0]} + )} {menu_icon === "colorful" && {icon[1]}}