criminal-purple•4y ago
setFilters error in useTable
Property 'setFilters' does not exist on type 'useTableReturnType<BaseRecord, unknown>'.
9 Replies
exotic-emerald•4y ago
@rehan1 Hi,
our
antd example have no issues.
https://stackblitz.com/edit/refinedev-refine-ar3dhp?file=src%2Fpages%2Fposts%2Flist.tsx&preset=node
do you import from @pankod/refine-antd ?
what is your core and antd version ?criminal-purpleOP•4y ago
refine-antd
exotic-emerald•4y ago
what is your installed
@pankod/refine-antd and @pankod/refine-core version ?criminal-purpleOP•4y ago
"@pankod/refine-antd": "^3.18.0",
"@pankod/refine-core": "^3.18.0",
"@pankod/refine-hasura": "^4.15.0",
exotic-emerald•4y ago
I'm sorry you're having trouble, but u are using old version of
refine packages. probably this issue is fixed already.
can u install latest version of this packages and try again ?
npm install @pankod/refine-antd@latest @pankod/refine-core@latest
ofc you should change if you are not prefer npm 🙏criminal-purpleOP•4y ago
ok
exotic-emerald•4y ago
If the error persists, please don't forget to inform us 🙏
criminal-purpleOP•4y ago
sure
after updating to latest version its working fine
exotic-emerald•4y ago
I'm so glad to hear that 🚀