summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/react/components/toggle_modal_button.jsx2
-rw-r--r--web/react/stores/modal_store.jsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/toggle_modal_button.jsx b/web/react/components/toggle_modal_button.jsx
index 51c8d1f20..eae4a024d 100644
--- a/web/react/components/toggle_modal_button.jsx
+++ b/web/react/components/toggle_modal_button.jsx
@@ -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, {
diff --git a/web/react/stores/modal_store.jsx b/web/react/stores/modal_store.jsx
index 45515bc9d..69f43a5cf 100644
--- a/web/react/stores/modal_store.jsx
+++ b/web/react/stores/modal_store.jsx
@@ -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: