Skip to content

Commit 5084cc5

Browse files
author
Huan Li
committed
Check member's each external data before render <ExternalLink> component
1 parent d144471 commit 5084cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/components/ProfilePage/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ On The Web
267267
</h3>
268268
<div styleName="external-links">
269269
{
270-
externals.map(external => (
270+
externals.map(external => !_.isEmpty(external.data) && (
271271
<ExternalLink
272272
data={external.data}
273273
key={external.type !== 'weblink'

0 commit comments

Comments
 (0)