diff --git a/.eslintrc.js b/.eslintrc.js index b2630ea..7256468 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,7 +15,6 @@ module.exports = { }, plugins: ['react', 'import'], rules: { - 'react/react-in-jsx-scope': 'off', 'react/prop-types': 'off', 'react/display-name': 'off', 'react/jsx-uses-react': 'error', diff --git a/components/Meta.js b/components/Meta.js index 0bb1943..c701652 100644 --- a/components/Meta.js +++ b/components/Meta.js @@ -1,3 +1,4 @@ +import React from 'react' import Head from 'next/head' import { THEMES, THEMES_HASH } from '../lib/constants' import Reset from './style/Reset' diff --git a/components/Overlay.js b/components/Overlay.js index 9f3f53a..59867e7 100644 --- a/components/Overlay.js +++ b/components/Overlay.js @@ -1,3 +1,5 @@ +import React from 'react' + const Overlay = props => (