chore(react/collections/table): react to note changes

This commit is contained in:
Elian Doran
2025-09-06 20:31:44 +03:00
parent 76e903a782
commit ff38008207

View File

@@ -52,6 +52,9 @@ export default function Tabulator<T>({ className, columns, data, modules, tabula
}
}, Object.values(events));
// Change in data.
useEffect(() => { tabulatorRef.current?.setData(data) }, [ data ]);
return (
<div ref={containerRef} className={className} />
);