Refetch not working as expected (Table not updating)
Hi!
I'm using:
Both use the button:
In the networks tab, the correct data is retrieved on click.
However, neither table is updated -- To make sure, I closed the API between the first load and pressing the 'refresh' button, but the original data is still there.
I found someone else having a similar issue a few months back, but they were using MUI/useDataGrid, which I dont believe is part of Ant?
Any insights appreciated!
I'm using:
tableQueryResult: { refetch } from useTable, andrefetch from useList in two different locations.Both use the button:
<Button onClick={() => {refetch()}}><RedoOutlined/>Refresh</Button>.In the networks tab, the correct data is retrieved on click.
However, neither table is updated -- To make sure, I closed the API between the first load and pressing the 'refresh' button, but the original data is still there.
I found someone else having a similar issue a few months back, but they were using MUI/useDataGrid, which I dont believe is part of Ant?
Any insights appreciated!
