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,7 +16,6 @@ limitations under the License.
1616
1717import React from 'react' ;
1818import PropTypes from 'prop-types' ;
19- import GeminiScrollbar from 'react-gemini-scrollbar' ;
2019import sdk from '../../../index' ;
2120import { MatrixClient } from 'matrix-js-sdk' ;
2221import { _t } from '../../../languageHandler' ;
@@ -55,14 +54,15 @@ export default React.createClass({
5554 text = _t ( 'Loading...' ) ;
5655 } else if ( groups . length > 0 ) {
5756 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- < GeminiScrollbar >
63+ < GeminiScrollbarWrapper >
6464 { groupPublicityToggles }
65- </ GeminiScrollbar >
65+ </ GeminiScrollbarWrapper >
6666 </ div > ;
6767 } else {
6868 text = _t ( "You're not currently a member of any communities." ) ;
You can’t perform that action at this time.
0 commit comments