setFilters error in useTable

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

Did you find this page helpful?