mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 06:51:21 +02: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
@ -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…
x
Reference in New Issue
Block a user