setFilters error in useTable

Property 'setFilters' does not exist on type 'useTableReturnType<BaseRecord, unknown>'.
9 Replies
genetic-orange
genetic-orange2y 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 ?
yappiest-sapphire
yappiest-sapphire2y ago
refine-antd
genetic-orange
genetic-orange2y ago
what is your installed @pankod/refine-antd and @pankod/refine-core version ?
yappiest-sapphire
yappiest-sapphire2y ago
"@pankod/refine-antd": "^3.18.0", "@pankod/refine-core": "^3.18.0", "@pankod/refine-hasura": "^4.15.0",
genetic-orange
genetic-orange2y 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 🙏
yappiest-sapphire
yappiest-sapphire2y ago
ok
genetic-orange
genetic-orange2y ago
If the error persists, please don't forget to inform us 🙏
yappiest-sapphire
yappiest-sapphire2y ago
sure after updating to latest version its working fine
genetic-orange
genetic-orange2y ago
I'm so glad to hear that 🚀