From 7e09d803d0bfb7031f318afb192035467693d0d4 Mon Sep 17 00:00:00 2001 From: qijizh Date: Thu, 27 Jul 2023 20:21:12 +0800 Subject: [PATCH] fix(list): behavior match description type (#2394) --- src/list/ListItemMeta.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list/ListItemMeta.tsx b/src/list/ListItemMeta.tsx index 808f656a8..41cd2a809 100644 --- a/src/list/ListItemMeta.tsx +++ b/src/list/ListItemMeta.tsx @@ -28,7 +28,7 @@ const ListItemMeta = forwardRef((props, ref)

{title}

-

{description}

+ {typeof description === 'string' ?

{description}

: description}