File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/components/views/globals Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,10 @@ limitations under the License.
1616
1717'use strict' ;
1818
19- var React = require ( 'react' ) ;
19+ import React from 'react' ;
2020import { _t } from 'matrix-react-sdk/lib/languageHandler' ;
21- var Notifier = require ( "matrix-react-sdk/lib/Notifier" ) ;
22- var sdk = require ( 'matrix-react-sdk' )
23- var AccessibleButton = require ( 'matrix-react-sdk/lib/components/views/elements/AccessibleButton' ) ;
21+ import Notifier from 'matrix-react-sdk/lib/Notifier' ;
22+ import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton' ;
2423
2524module . exports = React . createClass ( {
2625 displayName : 'MatrixToolbar' ,
@@ -43,5 +42,5 @@ module.exports = React.createClass({
4342 < AccessibleButton className = "mx_MatrixToolbar_close" onClick = { this . hideToolbar } > < img src = "img/cancel.svg" width = "18" height = "18" /> </ AccessibleButton >
4443 </ div >
4544 ) ;
46- }
45+ } ,
4746} ) ;
You can’t perform that action at this time.
0 commit comments