From b860b16e908a744f615c8cea35a3dcd4ca008f1a Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Thu, 14 Nov 2024 22:55:29 +0800 Subject: [PATCH] perf: compatible with rectangular icons --- src/app/content/views/Header/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/content/views/Header/index.tsx b/src/app/content/views/Header/index.tsx index b24c588..db0c7a9 100644 --- a/src/app/content/views/Header/index.tsx +++ b/src/app/content/views/Header/index.tsx @@ -41,7 +41,7 @@ const Header: FC = () => { return (
- + @@ -67,7 +67,7 @@ const Header: FC = () => { href={site.origin} className="grid cursor-pointer grid-cols-[auto_1fr] items-center gap-x-2 rounded-lg px-2 py-1.5 hover:bg-accent hover:text-accent-foreground" > - + @@ -134,7 +134,7 @@ const Header: FC = () => { data={chatUserList} defaultItemHeight={28} customScrollParent={chatUserListScrollParentRef!} - itemContent={(index, user) => ( + itemContent={(_index, user) => (