Skip to content

Commit

Permalink
Force gemini on HomePage
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebarnard1 committed Mar 21, 2018
1 parent 6c3b226 commit 9d893d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/structures/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -99,11 +98,12 @@ module.exports = React.createClass({
);
}
else {
const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper");
return (
<GeminiScrollbar autoshow={true} className="mx_HomePage">
<GeminiScrollbarWrapper autoshow={true} className="mx_HomePage">
<div className="mx_HomePage_body" dangerouslySetInnerHTML={{ __html: this.state.page }}>
</div>
</GeminiScrollbar>
</GeminiScrollbarWrapper>
);
}
}
Expand Down

0 comments on commit 9d893d7

Please sign in to comment.