diff --git a/packages/sanity/src/structure/panes/document/comments/CommentsWrapper.tsx b/packages/sanity/src/structure/panes/document/comments/CommentsWrapper.tsx index 531086eb4a8..fcd234329a1 100644 --- a/packages/sanity/src/structure/panes/document/comments/CommentsWrapper.tsx +++ b/packages/sanity/src/structure/panes/document/comments/CommentsWrapper.tsx @@ -5,8 +5,8 @@ import { CommentsProvider, useCommentsEnabled, } from 'sanity' -import {usePaneRouter} from 'sanity/structure' +import {usePaneRouter} from '../../../components' import {useDocumentPane} from '../useDocumentPane' interface CommentsWrapperProps {