genetic-orange
genetic-orange3y ago

setFilters error in useTable

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

Did you find this page helpful?