diff --git a/packages/analyst/src/components/AnalystTable.js b/packages/analyst/src/components/AnalystTable.js index 030e71b..fa3e191 100644 --- a/packages/analyst/src/components/AnalystTable.js +++ b/packages/analyst/src/components/AnalystTable.js @@ -65,6 +65,10 @@ export default function AnalystTable({ loadData(); }, [url]); + useEffect(() => { + setData(initialData); + }, [initialData]); + useEffect(() => { if (!data || data.length === 0) { return; @@ -324,7 +328,7 @@ export default function AnalystTable({ {slicedData.map((row, i) => ( - + {columns.map((column) => (