Skip to content

Commit 6a17e8a

Browse files
Copilothotlong
andcommitted
Fix React ref access error and useMemo dependency in Kanban
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 32aeb1f commit 6a17e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plugin-kanban/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const KanbanRenderer: React.FC<KanbanRendererProps> = ({ schema }) => {
5252

5353
// Default: Return columns as-is (assuming they have 'cards' inside)
5454
return columns;
55-
}, [schema.columns, schema.data, schema.groupBy]);
55+
}, [schema]);
5656

5757
return (
5858
<Suspense fallback={<Skeleton className="w-full h-[600px]" />}>

0 commit comments

Comments
 (0)