diff --git a/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx b/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx index 37cd3dd1ae..16378ffc6f 100644 --- a/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx +++ b/services/web/frontend/js/features/review-panel-new/components/review-panel-current-file.tsx @@ -31,6 +31,7 @@ import { hasActiveRange } from '@/features/review-panel-new/utils/has-active-ran import { addCommentStateField } from '@/features/source-editor/extensions/add-comment' import ReviewPanelMoreCommentsButton from './review-panel-more-comments-button' import useMoreCommments from '../hooks/use-more-comments' +import { Decoration } from '@codemirror/view' type AggregatedRanges = { changes: Change[] @@ -216,7 +217,7 @@ const ReviewPanelCurrentFile: FC = () => { } = useMoreCommments( aggregatedRanges?.changes ?? [], aggregatedRanges?.comments ?? [], - addCommentRanges + addCommentRanges ?? Decoration.none ) const updatePositions = useCallback(() => {