We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb4665 commit bacfaffCopy full SHA for bacfaff
src/components/EventDialog/Speaker/index.js
@@ -77,7 +77,7 @@ const Speaker = (props) => {
77
mastodon.split('@').length > 1
78
? (
79
<a
80
- href={`https://${mastodon.split('@')[1]}/@${mastodon.split('@')[0]}`}
+ href={`https://${mastodon.split('@').filter(part => part !== '')[1]}/@${mastodon.split('@').filter(part => part !== '')[0]}`}
81
target="_blank"
82
className={classnames(
83
styles.Icon,
0 commit comments