Commit bad1375c authored by Chunchi Che's avatar Chunchi Che

fix small

parent c8efde57
Pipeline #21447 passed with stages
in 13 minutes and 46 seconds
...@@ -47,7 +47,11 @@ export const CardListModal = () => { ...@@ -47,7 +47,11 @@ export const CardListModal = () => {
extra={ extra={
<img <img
alt={item.meta?.text.name} alt={item.meta?.text.name}
src={`${NeosConfig.cardImgUrl}/${item.meta?.id}.jpg`} src={
item.meta?.id
? `${NeosConfig.cardImgUrl}/${item.meta.id}.jpg`
: `${NeosConfig.assetsPath}/card_back.jpg`
}
style={{ width: CARD_WIDTH }} style={{ width: CARD_WIDTH }}
/> />
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment