From 9fea19d0b432c04896832602edcbe0b08e4f02be Mon Sep 17 00:00:00 2001 From: Anton Gilgur Date: Mon, 10 Aug 2020 22:28:29 -0400 Subject: [PATCH] lint: manually fix new website ESLint errors and warnings - these were unable to be auto-fixed, so I had to manually fix them - lint errors are from b09e19578fbf5dedb8e8d43a9881dc914253d66e --- website/components/video.js | 2 +- website/nextra.config.js | 5 +++-- website/pages/_app.js | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/website/components/video.js b/website/components/video.js index 23e88ba64..9b4b65ade 100644 --- a/website/components/video.js +++ b/website/components/video.js @@ -1,4 +1,4 @@ -import { useRef, useCallback, useEffect } from 'react'; +import React, { useRef, useCallback, useEffect } from 'react'; import { useInView } from 'react-intersection-observer'; import 'intersection-observer'; diff --git a/website/nextra.config.js b/website/nextra.config.js index a0f69edca..9febdeee4 100644 --- a/website/nextra.config.js +++ b/website/nextra.config.js @@ -1,3 +1,4 @@ +import React from 'react'; import { Logo } from 'components/logo'; export default { @@ -67,7 +68,7 @@ export default { A Jared Palmer Project @@ -80,7 +81,7 @@ export default { filepath } target="_blank" - rel="noopener" + rel="noopener noreferrer" > Edit this page on GitHub diff --git a/website/pages/_app.js b/website/pages/_app.js index a4dc6461b..1c0291bd5 100644 --- a/website/pages/_app.js +++ b/website/pages/_app.js @@ -1,3 +1,4 @@ +import React from 'react'; import '.nextra/styles.css'; import GoogleFonts from 'next-google-fonts';