Skip to content

Commit 8f779b8

Browse files
committed
linting
1 parent ec98e11 commit 8f779b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/HOC.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import toLoadable from './loadable';
1515
const loader = (loaderFunction, options = {}) => {
1616
const loadable = toLoadable(loaderFunction, !options.noAutoImport);
1717

18-
// eslint-disable-next-line
18+
/* eslint-disable react/display-name, react/prop-types */
1919
const ImportedComponent = ({importedProps = {}, ...props}) => (
2020
<HotComponentLoader
2121
loadable={loadable}
@@ -40,6 +40,8 @@ const loader = (loaderFunction, options = {}) => {
4040
))
4141
: ImportedComponent;
4242

43+
/* eslint-enable */
44+
4345
Imported.preload = () => {
4446
loadable.load().catch(() => ({}));
4547
return loadable.resolution;

0 commit comments

Comments
 (0)