diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index bdba55eb0e..c46ceeba7b 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -18,10 +18,10 @@ limitations under the License. 'use strict'; import React from 'react'; -import GeminiScrollbar from 'react-gemini-scrollbar'; import request from 'browser-request'; import { _t } from 'matrix-react-sdk/lib/languageHandler'; import sanitizeHtml from 'sanitize-html'; +import sdk from 'matrix-react-sdk/lib'; module.exports = React.createClass({ displayName: 'HomePage', @@ -99,11 +99,12 @@ module.exports = React.createClass({ ); } else { + const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper"); return ( - +
-
+ ); } }