From d9166c6b8d34b7055ac02029dffcfe600ae86a3a Mon Sep 17 00:00:00 2001 From: smaspe Date: Wed, 28 May 2025 14:55:34 +0200 Subject: [PATCH] fix: Avoid duplicate call to autoreset by removing the wrap in `_queue` --- packages/table-core/src/utils/getGroupedRowModel.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/table-core/src/utils/getGroupedRowModel.ts b/packages/table-core/src/utils/getGroupedRowModel.ts index da97631913..cef90ee91a 100644 --- a/packages/table-core/src/utils/getGroupedRowModel.ts +++ b/packages/table-core/src/utils/getGroupedRowModel.ts @@ -166,10 +166,8 @@ export function getGroupedRowModel(): ( } }, getMemoOptions(table.options, 'debugTable', 'getGroupedRowModel', () => { - table._queue(() => { - table._autoResetExpanded() - table._autoResetPageIndex() - }) + table._autoResetExpanded() + table._autoResetPageIndex() }) ) }