From 95f0aaac6851618554279050ea666ee3f0d98c13 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 21 Mar 2018 17:22:35 +0000 Subject: [PATCH 1/2] Force gemini on HomePage --- src/components/structures/HomePage.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index bdba55eb..eb0e2830 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -18,7 +18,6 @@ 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'; @@ -99,11 +98,12 @@ module.exports = React.createClass({ ); } else { + const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper"); return ( - +
-
+ ); } } From 7673d2aa51a3ec40967adb446f42158dc564a0b1 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Tue, 27 Mar 2018 17:19:57 +0100 Subject: [PATCH 2/2] Fix missing import --- src/components/structures/HomePage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/structures/HomePage.js b/src/components/structures/HomePage.js index eb0e2830..c46ceeba 100644 --- a/src/components/structures/HomePage.js +++ b/src/components/structures/HomePage.js @@ -21,6 +21,7 @@ import React from 'react'; 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',