Skip to content

Commit 540705e

Browse files
committed
Fix potential crashes
1 parent 808f160 commit 540705e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/assets/assets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ const AssetsPage = () => {
623623
dataIndex: 'msgTypeName',
624624
key: 'msgTypeName',
625625
render: (text) => {
626-
return <TagMsgType msgTypeName={text} />;
626+
return text ? <TagMsgType msgTypeName={text} /> : <></>;
627627
},
628628
},
629629
]

0 commit comments

Comments
 (0)