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