Fixed buggy tooltip

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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

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 }
</span> }
{ tip }
</span> }
</MatrixClientContext.Provider>;
} else {
// Deliberately render nothing if the URL isn't recognised