Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a142f44

Browse files
committed
Revert "Use GeminiScrollbarWrapper in Flair settings of UserSettings"
This reverts commit 3b5fb3a.
1 parent 8b2446f commit a142f44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/views/groups/GroupUserSettings.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ limitations under the License.
1616

1717
import React from 'react';
1818
import PropTypes from 'prop-types';
19+
import GeminiScrollbar from 'react-gemini-scrollbar';
1920
import sdk from '../../../index';
2021
import { MatrixClient } from 'matrix-js-sdk';
2122
import { _t } from '../../../languageHandler';
@@ -54,15 +55,14 @@ export default React.createClass({
5455
text = _t('Loading...');
5556
} else if (groups.length > 0) {
5657
const GroupPublicityToggle = sdk.getComponent('groups.GroupPublicityToggle');
57-
const GeminiScrollbarWrapper = sdk.getComponent('elements.GeminiScrollbarWrapper');
5858
const groupPublicityToggles = groups.map((groupId, index) => {
5959
return <GroupPublicityToggle key={index} groupId={groupId} />;
6060
});
6161
text = _t('Display your community flair in rooms configured to show it.');
6262
scrollbox = <div className="mx_GroupUserSettings_groupPublicity_scrollbox">
63-
<GeminiScrollbarWrapper>
63+
<GeminiScrollbar>
6464
{ groupPublicityToggles }
65-
</GeminiScrollbarWrapper>
65+
</GeminiScrollbar>
6666
</div>;
6767
} else {
6868
text = _t("You're not currently a member of any communities.");

0 commit comments

Comments
 (0)