mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Merge pull request #6820 from matrix-org/palid/fix/invalid-property-ts
Fix invalid accessor for method.
This commit is contained in:
commit
d026dce723
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue