diff --git a/src/client/component/contentinfo.tsx b/src/client/component/contentinfo.tsx index 41e4f56..8f699b9 100644 --- a/src/client/component/contentinfo.tsx +++ b/src/client/component/contentinfo.tsx @@ -177,7 +177,11 @@ function ComicDetailTag(prop: { {key} - {tagTable[key].length !== 0 ? tagTable[key].join(", ") : "N/A"} + {tagTable[key].length !== 0 ? tagTable[key].map((elem, i)=>{ + return <> + {elem} + {(i < tagTable[key].length - 1) ? ',' : ''} + }) : "N/A"} ))}