From 40db4814539f533c99cf538659458e880564dc6f Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Sun, 10 Mar 2024 00:34:22 +0800 Subject: [PATCH] chore: update --- src/components/layout/layout-item.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/layout/layout-item.tsx b/src/components/layout/layout-item.tsx index d48c94c4..8c697284 100644 --- a/src/components/layout/layout-item.tsx +++ b/src/components/layout/layout-item.tsx @@ -4,7 +4,6 @@ import { ListItemButton, ListItemText, ListItemIcon, - Avatar, } from "@mui/material"; import { useMatch, useResolvedPath, useNavigate } from "react-router-dom"; @@ -28,7 +27,7 @@ export const LayoutItem = (props: Props) => { { borderRadius: 2, marginLeft: 1.5, - paddingLeft: 1, + paddingLeft: 1.5, paddingRight: 1, marginRight: 1.5, textAlign: "left", @@ -53,8 +52,11 @@ export const LayoutItem = (props: Props) => { ]} onClick={() => navigate(to)} > - {icon} - + {icon} + );