rubber-blueR
Refine4y ago
16 replies
rubber-blue

useDelete hook and useTable

Hi guys, i use useTable hook to fetch data and take only one element from list via id in initial filter
This activity happens in drawer and then i close it i want to reset data in resource
I try to use useDelete hook for this action but nothing works. It is strange because in useTable i use the same resource as in useDelete hook
And another problem that was detected yesterday - drawer has prop "destroyOnClose" - i don't know why, but it doesn't work(
Was this page helpful?