This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/views/groups Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ limitations under the License.
16
16
17
17
import React from 'react' ;
18
18
import PropTypes from 'prop-types' ;
19
+ import GeminiScrollbar from 'react-gemini-scrollbar' ;
19
20
import sdk from '../../../index' ;
20
21
import { MatrixClient } from 'matrix-js-sdk' ;
21
22
import { _t } from '../../../languageHandler' ;
@@ -54,15 +55,14 @@ export default React.createClass({
54
55
text = _t ( 'Loading...' ) ;
55
56
} else if ( groups . length > 0 ) {
56
57
const GroupPublicityToggle = sdk . getComponent ( 'groups.GroupPublicityToggle' ) ;
57
- const GeminiScrollbarWrapper = sdk . getComponent ( 'elements.GeminiScrollbarWrapper' ) ;
58
58
const groupPublicityToggles = groups . map ( ( groupId , index ) => {
59
59
return < GroupPublicityToggle key = { index } groupId = { groupId } /> ;
60
60
} ) ;
61
61
text = _t ( 'Display your community flair in rooms configured to show it.' ) ;
62
62
scrollbox = < div className = "mx_GroupUserSettings_groupPublicity_scrollbox" >
63
- < GeminiScrollbarWrapper >
63
+ < GeminiScrollbar >
64
64
{ groupPublicityToggles }
65
- </ GeminiScrollbarWrapper >
65
+ </ GeminiScrollbar >
66
66
</ div > ;
67
67
} else {
68
68
text = _t ( "You're not currently a member of any communities." ) ;
You can’t perform that action at this time.
0 commit comments