Step 10.2: Move matrix logo replacement into react-sdk

This commit is contained in:
Travis Ralston 2022-03-24 23:56:09 -06:00
parent 661b8d595c
commit 63091e7b66
4 changed files with 182 additions and 2 deletions

View file

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