diff --git a/services/web/frontend/js/features/ide-react/context/review-panel/hooks/use-review-panel-state.ts b/services/web/frontend/js/features/ide-react/context/review-panel/hooks/use-review-panel-state.ts index 260ed24d52..6d7a294966 100644 --- a/services/web/frontend/js/features/ide-react/context/review-panel/hooks/use-review-panel-state.ts +++ b/services/web/frontend/js/features/ide-react/context/review-panel/hooks/use-review-panel-state.ts @@ -1153,7 +1153,6 @@ function useReviewPanelState(): ReviewPanelStateReactIde { ] ) - const [entryHover, setEntryHover] = useState(false) const [isAddingComment, setIsAddingComment] = useState(false) const [navHeight, setNavHeight] = useState(0) const [toolbarHeight, setToolbarHeight] = useState(0) @@ -1503,7 +1502,6 @@ function useReviewPanelState(): ReviewPanelStateReactIde { collapsed, commentThreads, entries, - entryHover, isAddingComment, loadingThreads, nVisibleSelectedChanges, @@ -1531,7 +1529,6 @@ function useReviewPanelState(): ReviewPanelStateReactIde { collapsed, commentThreads, entries, - entryHover, isAddingComment, loadingThreads, nVisibleSelectedChanges, @@ -1578,7 +1575,6 @@ function useReviewPanelState(): ReviewPanelStateReactIde { toggleTrackChangesForEveryone, toggleTrackChangesForUser, toggleTrackChangesForGuests, - setEntryHover, setCollapsed, setShouldCollapse, setIsAddingComment, @@ -1607,7 +1603,6 @@ function useReviewPanelState(): ReviewPanelStateReactIde { toggleTrackChangesForUser, toggleTrackChangesForGuests, setCollapsed, - setEntryHover, setShouldCollapse, setIsAddingComment, setNavHeight, diff --git a/services/web/frontend/js/features/source-editor/components/review-panel/container.tsx b/services/web/frontend/js/features/source-editor/components/review-panel/container.tsx index 21f4dd32ab..d1eab7846d 100644 --- a/services/web/frontend/js/features/source-editor/components/review-panel/container.tsx +++ b/services/web/frontend/js/features/source-editor/components/review-panel/container.tsx @@ -4,14 +4,13 @@ const reviewPanelClasses = ['ol-cm-review-panel'] type ContainerProps = { children?: React.ReactNode - classNames?: Record - style?: React.CSSProperties + className?: string } -function Container({ children, classNames, ...rest }: ContainerProps) { +function Container({ children, className, ...rest }: ContainerProps) { return (
diff --git a/services/web/frontend/js/features/source-editor/components/review-panel/current-file-container.tsx b/services/web/frontend/js/features/source-editor/components/review-panel/current-file-container.tsx index 45f4c6d0e9..8306e72580 100644 --- a/services/web/frontend/js/features/source-editor/components/review-panel/current-file-container.tsx +++ b/services/web/frontend/js/features/source-editor/components/review-panel/current-file-container.tsx @@ -29,7 +29,6 @@ function CurrentFileContainer() { permissions, loadingThreads, users, - entryHover, nVisibleSelectedChanges: nChanges, } = useReviewPanelValueContext() const contentHeight = useCodeMirrorContentHeight() @@ -44,12 +43,7 @@ function CurrentFileContainer() { }, [currentDocEntries]) return ( - +