From f4d17ece16b113e0df0ac8422713448b8f2002b0 Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Wed, 20 May 2026 20:30:51 +0200 Subject: [PATCH 1/2] fix(draggable-window): pass null to useRef for TS6 Upstream V3.5.0 introduced a useRef() call with no initial value. TS6 (and the tsgo preview compiler) now require an explicit initial value for useRef typed against a DOM element. Pass null to match the React 19 RefObject shape. --- src/common/draggable-window/DraggableWindow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/draggable-window/DraggableWindow.tsx b/src/common/draggable-window/DraggableWindow.tsx index e3b8695..20a17e9 100644 --- a/src/common/draggable-window/DraggableWindow.tsx +++ b/src/common/draggable-window/DraggableWindow.tsx @@ -30,7 +30,7 @@ export const DraggableWindow: FC = props => const [isDragging, setIsDragging] = useState(false); const [isPositioned, setIsPositioned] = useState(false); const [dragHandler, setDragHandler] = useState(null); - const elementRef = useRef(); + const elementRef = useRef(null); const bringToTop = useCallback(() => { let zIndex = 400; for (const existingWindow of CURRENT_WINDOWS) From 49dfb43c2a64657b9312cdb76e8c490646533958 Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Wed, 20 May 2026 20:30:52 +0200 Subject: [PATCH 2/2] test(catalog): include getNodesByOfferId in useCatalogActions contract Upstream Buy/Search fix added getNodesByOfferId to the useCatalogActions filter but didn't refresh the actions-shape contract test in useCatalog.filters.test.tsx. Add the key so the test reflects the current public surface. --- src/hooks/catalog/useCatalog.filters.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/catalog/useCatalog.filters.test.tsx b/src/hooks/catalog/useCatalog.filters.test.tsx index 59b6446..4c29653 100644 --- a/src/hooks/catalog/useCatalog.filters.test.tsx +++ b/src/hooks/catalog/useCatalog.filters.test.tsx @@ -142,6 +142,7 @@ describe('useCatalog filter contract', () => 'getBuilderFurniPlaceableStatus', 'getNodeById', 'getNodeByName', + 'getNodesByOfferId', 'openCatalogByType', 'openPageById', 'openPageByName',