diff --git a/components/comment.js b/components/comment.js index b84ec2e4..036d8768 100644 --- a/components/comment.js +++ b/components/comment.js @@ -25,7 +25,7 @@ import Skull from '@/svgs/death-skull.svg' import { commentSubTreeRootId } from '@/lib/item' import Pin from '@/svgs/pushpin-fill.svg' import LinkToContext from './link-to-context' -import { ItemContextProvider } from './item' +import { ItemContextProvider, useItemContext } from './item' function Parent ({ item, rootText }) { const root = useRoot() @@ -144,11 +144,7 @@ export default function Comment ({ onTouchStart={() => ref.current.classList.add('outline-new-comment-unset')} >