1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Fix invalid accessor for method.

This commit is contained in:
Dariusz Niemczyk
2021-09-16 15:21:40 +02:00
parent 3da02f1546
commit f7d8ae2b13

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 // default implementation - skins may wish to extend this
return sanitizeHtml(_t(s)); return sanitizeHtml(_t(s));
} }