From c8015e86b0cb755bdba5228a49261ad1f0289404 Mon Sep 17 00:00:00 2001 From: Bram Adams <3282661+bramses@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:23:41 -0400 Subject: [PATCH] refactor: Remove unused code and optimize image loading in EntryPage component --- src/components/EntryPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EntryPage.tsx b/src/components/EntryPage.tsx index 831b8f5..401f929 100644 --- a/src/components/EntryPage.tsx +++ b/src/components/EntryPage.tsx @@ -10,7 +10,7 @@ import 'react-lite-youtube-embed/dist/LiteYouTubeEmbed.css'; import { useUser } from '@clerk/nextjs'; import Image from 'next/image'; import Link from 'next/link'; -import { usePathname, useRouter } from 'next/navigation'; +import { usePathname } from 'next/navigation'; import { memo, useEffect, useState } from 'react'; import LiteYouTubeEmbed from 'react-lite-youtube-embed'; import ReactMarkdown from 'react-markdown';