diff --git a/services/web/frontend/js/features/source-editor/components/review-panel/nav.tsx b/services/web/frontend/js/features/source-editor/components/review-panel/nav.tsx
index 1062a1a36b..603fdeb6ff 100644
--- a/services/web/frontend/js/features/source-editor/components/review-panel/nav.tsx
+++ b/services/web/frontend/js/features/source-editor/components/review-panel/nav.tsx
@@ -24,10 +24,10 @@ function Nav() {
},
[setNavHeight]
)
- const resizeRef = useResizeObserver(handleResize)
+ const { elementRef } = useResizeObserver(handleResize)
return (
-
+