1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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

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