diff --git a/.eslintrc.json b/.eslintrc.json index bffb357..cd0edd9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": "next/core-web-vitals" -} + "extends": "next/core-web-vitals", + "rules": { + "@next/next/no-img-element": "off" + } +} \ No newline at end of file diff --git a/pages/_document.tsx b/pages/_document.tsx index 4cd8386..11908bd 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -6,7 +6,7 @@ class MyDocument extends Document { diff --git a/pages/components/Logo.tsx b/pages/components/Logo.tsx index a3dcae2..bc68a89 100644 --- a/pages/components/Logo.tsx +++ b/pages/components/Logo.tsx @@ -3,12 +3,6 @@ import styles from '../../styles/Logo.module.scss'; import Link from 'next/link'; const Logo = () => { - const [isDesktop, setIsDesktop] = useState(true); - - useEffect(() => { - setIsDesktop(window.innerWidth > 768); - }, []); - return (