You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Some small tidying up (#9149)
* Remove stale comment * Fix typing * Install katex type definitions
This commit is contained in:
committed by
GitHub
parent
eb2e61e9cf
commit
5fbeb20df8
@@ -130,8 +130,8 @@ function onAliasClick(event: MouseEvent, roomAlias: string) {
|
||||
});
|
||||
}
|
||||
|
||||
const escapeRegExp = function(string): string {
|
||||
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
||||
const escapeRegExp = function(s: string): string {
|
||||
return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
||||
};
|
||||
|
||||
// Recognise URLs from both our local and official Element deployments.
|
||||
|
Reference in New Issue
Block a user