From 2da607605c89694a3e529b8dfc3c50d170dd4017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Gu=CC=88ell=20Segarra?= Date: Wed, 31 Jul 2024 17:20:20 +0200 Subject: [PATCH] fix: try to debug weird production only glitch --- src/components/InfiniteTable/InfiniteTable.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/InfiniteTable/InfiniteTable.tsx b/src/components/InfiniteTable/InfiniteTable.tsx index 378e555..b4876a9 100644 --- a/src/components/InfiniteTable/InfiniteTable.tsx +++ b/src/components/InfiniteTable/InfiniteTable.tsx @@ -97,6 +97,7 @@ const InfiniteTableComp = forwardRef( columnChangeListenerReady.current = true; return; } + gridRef.current?.api.applyColumnState({ state }); onColumnsChangedProps?.(state); }, DEBOUNCE_TIME), [onColumnsChangedProps],