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