style: endpoint selection

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent df5c2be7fa
commit 337d93ff51
6 changed files with 122 additions and 8 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ const MetadataList: React.FC<MetadataListProps> = ({
>
{dataList.map((item, index) => (
<ItemContainer key={index}>
{children ? children(item, index) : null}
{children?.(item, index)}
{!disabled && (
<Button
size="small"