diff --git a/components/item-full.js b/components/item-full.js index b215bf55..f26f21bd 100644 --- a/components/item-full.js +++ b/components/item-full.js @@ -25,7 +25,6 @@ import { UNKNOWN_LINK_REL } from '@/lib/constants' import classNames from 'classnames' import { CarouselProvider } from './carousel' import Embed from './embed' -import { useRouter } from 'next/router' import useCommentsView from './use-comments-view' function BioItem ({ item, handleClick }) { @@ -169,9 +168,6 @@ export default function ItemFull ({ item, fetchMoreComments, bio, rank, ...props markItemViewed(item) }, [item.id, markItemViewed]) - const router = useRouter() - const carouselKey = `${item.id}-${router.query?.sort || 'default'}` - return ( <> {rank @@ -181,7 +177,7 @@ export default function ItemFull ({ item, fetchMoreComments, bio, rank, ...props ) :
}