Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit dd88c65

Browse files
committed
exlint fixes.
1 parent 3eaf61d commit dd88c65

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/core/Reloader.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable no-undef */
1+
/* eslint-disable no-undef,react/no-did-update-set-state,no-magic-numbers */
22
import R from 'ramda';
33
import React from 'react';
44
import PropTypes from 'prop-types';

src/reducers/reducer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ function rootReducer(reducer) {
9898
return function(state, action) {
9999
if (action.type === 'RELOAD') {
100100
const {history} = state;
101+
// eslint-disable-next-line no-param-reassign
101102
state = {history};
102103
}
103104
return reducer(state, action);

0 commit comments

Comments
 (0)