Patching strange travis eslint problem
Этот коммит содержится в:
@@ -22,7 +22,7 @@ export default class ModalToggleButton extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
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
|
// this assumes that all modals will have a show property and an onHide event
|
||||||
const dialog = React.createElement(this.props.dialogType, Object.assign({}, dialogProps, {
|
const dialog = React.createElement(this.props.dialogType, Object.assign({}, dialogProps, {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class ModalStoreClass extends EventEmitter {
|
|||||||
|
|
||||||
handleEventPayload(payload) {
|
handleEventPayload(payload) {
|
||||||
// toggle event handlers should accept a boolean show/hide value and can accept a map of arguments
|
// 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) {
|
switch (type) {
|
||||||
case ActionTypes.TOGGLE_IMPORT_THEME_MODAL:
|
case ActionTypes.TOGGLE_IMPORT_THEME_MODAL:
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user