You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some hooks of Refine, overtimeOptions are ignored and there are duplicated overtime intervals created.
Steps To Reproduce
mount useTable and set overtimeOptions.interval to 2000
Log the whole return type of useTable
Notice that logs printed every 1000ms regardless the set interval
Check query.overtime to see the duplicated overtime call and response.
Expected behavior
There are duplicated calls of useLoadingOvertime made in the data hooks used by the extension hooks such as useTable, those are ignoring the overtimeOptions passed to the hook and causes independent updates
Packages
@refinedev/core
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
In some hooks of Refine,
overtimeOptions
are ignored and there are duplicated overtime intervals created.Steps To Reproduce
useTable
and setovertimeOptions.interval
to2000
useTable
query.overtime
to see the duplicated overtime call and response.Expected behavior
There are duplicated calls of
useLoadingOvertime
made in the data hooks used by the extension hooks such asuseTable
, those are ignoring theovertimeOptions
passed to the hook and causes independent updatesPackages
@refinedev/core
Additional Context
No response
The text was updated successfully, but these errors were encountered: