Patching strange travis eslint problem

This commit is contained in:
Christopher Speller
2015-11-19 21:47:05 -05:00
parent 55b831e4e1
commit 34097faa13
2 changed files with 2 additions and 2 deletions

View File

@@ -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, {

View File

@@ -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: