mirror of
https://github.com/outline/outline.git
synced 2025-12-30 15:30:12 -06:00
* Replace useComponentSize with react-use-measure - Add react-use-measure dependency - Replace all useComponentSize usages with useMeasure hook - Remove useComponentSize hook file - Update imports across all affected components: - app/components/Header.tsx - app/components/ResizingHeightContainer.tsx - app/scenes/Document/components/Header.tsx - app/scenes/Document/components/MeasuredContainer.tsx - shared/editor/embeds/Berrycast.tsx Fixes #9812 * Remove unused breadcrumbsRef The breadcrumbsRef is no longer needed since we're using breadcrumbsMeasureRef directly for measuring the breadcrumbs element. --------- Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>