From 96d2f05eb740191f70949d388d120dd0595a54fa Mon Sep 17 00:00:00 2001 From: wsw <944627549@qq.com> Date: Thu, 25 May 2023 01:13:19 +0800 Subject: [PATCH] refactor: Fix undefined className in ListItem --- app/components/ui-lib.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/ui-lib.tsx b/app/components/ui-lib.tsx index 5687b1c5..be9b30a6 100644 --- a/app/components/ui-lib.tsx +++ b/app/components/ui-lib.tsx @@ -42,7 +42,7 @@ export function ListItem(props: { className?: string; }) { return ( -
+
{props.icon &&
{props.icon}
}