remove overspecified condition

This commit is contained in:
keyan 2024-02-16 13:26:15 -06:00
parent 0d549abff9
commit 7065008f5d
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ function HeaderHeader ({ user }) {
<small className='text-muted d-flex-inline'> <small className='text-muted d-flex-inline'>
<SocialLink name='Github' id={user.optional.githubId} /> <SocialLink name='Github' id={user.optional.githubId} />
</small>} </small>}
{user.optional.twitterId !== null && {user.optional.twitterId &&
<small className='text-muted d-flex-inline'> <small className='text-muted d-flex-inline'>
<SocialLink name='Twitter' id={user.optional.twitterId} /> <SocialLink name='Twitter' id={user.optional.twitterId} />
</small>} </small>}