mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Patching strange travis eslint problem
This commit is contained in:
@@ -22,7 +22,7 @@ export default class ModalToggleButton extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const {children, dialogType, dialogProps, ...props} = this.props;
|
||||
const {children, dialogType, dialogProps, ...props} = this.props; //eslint-disable-line no-redeclare
|
||||
|
||||
// this assumes that all modals will have a show property and an onHide event
|
||||
const dialog = React.createElement(this.props.dialogType, Object.assign({}, dialogProps, {
|
||||
|
||||
@@ -28,7 +28,7 @@ class ModalStoreClass extends EventEmitter {
|
||||
|
||||
handleEventPayload(payload) {
|
||||
// toggle event handlers should accept a boolean show/hide value and can accept a map of arguments
|
||||
const {type, value, ...args} = payload.action;
|
||||
const {type, value, ...args} = payload.action; //eslint-disable-line no-redeclare
|
||||
|
||||
switch (type) {
|
||||
case ActionTypes.TOGGLE_IMPORT_THEME_MODAL:
|
||||
|
||||
Reference in New Issue
Block a user