Skip to content

Commit 9fea19d

Browse files
committed
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 b09e195
1 parent 3dfdafb commit 9fea19d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

website/components/video.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useRef, useCallback, useEffect } from 'react';
1+
import React, { useRef, useCallback, useEffect } from 'react';
22
import { useInView } from 'react-intersection-observer';
33
import 'intersection-observer';
44

website/nextra.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import { Logo } from 'components/logo';
23

34
export default {
@@ -67,7 +68,7 @@ export default {
6768
<a
6869
href="https://jaredpalmer.com/?utm_source=tsdx"
6970
target="_blank"
70-
rel="noopener"
71+
rel="noopener noreferrer"
7172
className="inline-flex items-center no-underline text-current font-semibold"
7273
>
7374
<span className="mr-1">A Jared Palmer Project</span>
@@ -80,7 +81,7 @@ export default {
8081
filepath
8182
}
8283
target="_blank"
83-
rel="noopener"
84+
rel="noopener noreferrer"
8485
>
8586
Edit this page on GitHub
8687
</a>

website/pages/_app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import React from 'react';
12
import '.nextra/styles.css';
23
import GoogleFonts from 'next-google-fonts';
34

0 commit comments

Comments
 (0)