Merge pull request #6820 from matrix-org/palid/fix/invalid-property-ts

Fix invalid accessor for  method.
pull/21833/head
Dariusz Niemczyk 2021-09-16 15:29:21 +02:00 committed by GitHub
commit d026dce723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export default class EmbeddedPage extends React.PureComponent<IProps, IState> {
};
}
private translate(s: string): string {
protected translate(s: string): string {
// default implementation - skins may wish to extend this
return sanitizeHtml(_t(s));
}