make eslint happy about MatrixToolbar

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/4056/head
Michael Telatynski 2017-05-29 19:12:04 +01:00
parent 3e7b738b11
commit dda73cecf9
1 changed files with 4 additions and 5 deletions

View File

@ -16,11 +16,10 @@ limitations under the License.
'use strict'; 'use strict';
var React = require('react'); import React from 'react';
import { _t } from 'matrix-react-sdk/lib/languageHandler'; import { _t } from 'matrix-react-sdk/lib/languageHandler';
var Notifier = require("matrix-react-sdk/lib/Notifier"); import Notifier from 'matrix-react-sdk/lib/Notifier';
var sdk = require('matrix-react-sdk') import AccessibleButton from 'matrix-react-sdk/lib/components/views/elements/AccessibleButton';
var AccessibleButton = require('matrix-react-sdk/lib/components/views/elements/AccessibleButton');
module.exports = React.createClass({ module.exports = React.createClass({
displayName: 'MatrixToolbar', displayName: 'MatrixToolbar',
@ -43,5 +42,5 @@ module.exports = React.createClass({
<AccessibleButton className="mx_MatrixToolbar_close" onClick={ this.hideToolbar } ><img src="img/cancel.svg" width="18" height="18" /></AccessibleButton> <AccessibleButton className="mx_MatrixToolbar_close" onClick={ this.hideToolbar } ><img src="img/cancel.svg" width="18" height="18" /></AccessibleButton>
</div> </div>
); );
} },
}); });