Fixed buggy tooltip

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-12 11:27:14 +01:00
parent f2137fe93f
commit a975de22ef
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 2 additions and 1 deletions

View File

@ -290,6 +290,7 @@ class Pill extends React.Component {
>
{ avatar }
{ linkText }
{ tip }
</a> :
<span
className={classes}
@ -299,8 +300,8 @@ class Pill extends React.Component {
>
{ avatar }
{ linkText }
{ tip }
</span> }
{tip}
</MatrixClientContext.Provider>;
} else {
// Deliberately render nothing if the URL isn't recognised