File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/components/structures Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 11/*
22Copyright 2016 OpenMarket Ltd
33Copyright 2017 Vector Creations Ltd
4+ Copyright 2019 New Vector Ltd
45
56Licensed under the Apache License, Version 2.0 (the "License");
67you may not use this file except in compliance with the License.
@@ -17,13 +18,12 @@ limitations under the License.
1718
1819'use strict' ;
1920
20- import HomePage from 'matrix-react-sdk/lib/components/structures/HomePage ' ;
21+ import EmbeddedPage from 'matrix-react-sdk/lib/components/structures/EmbeddedPage ' ;
2122import sanitizeHtml from 'sanitize-html' ;
2223import { _t } from 'matrix-react-sdk/lib/languageHandler' ;
2324
24- class VectorHomePage extends HomePage {
25- static displayName = 'VectorHomePage' ;
26- static replaces = 'HomePage' ;
25+ export default class VectorEmbeddedPage extends EmbeddedPage {
26+ static replaces = 'EmbeddedPage' ;
2727
2828 // we're overriding the base component here, for Riot-specific tweaks
2929 translate ( s ) {
@@ -34,5 +34,3 @@ class VectorHomePage extends HomePage {
3434 return s ;
3535 }
3636}
37-
38- module . exports = VectorHomePage ;
You can’t perform that action at this time.
0 commit comments