We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use-list-state
https://mantine.dev/hooks/use-list-state/
// remove objects that have a = 'new-prop' const filter = () => handlers.filter((item) => item.a === 'new-prop'); // values -> [{ a: 8 }]
should be
// filter objects that have a = 'new-prop' const filter = () => handlers.filter((item) => item.a === 'new-prop'); // values -> [{ a: 'new-prop' }]
because implementation uses plain filter.
mantine/src/mantine-hooks/src/use-list-state/use-list-state.ts
Lines 86 to 88 in e267c1d
Yes
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Link to the page where something nasty is located
https://mantine.dev/hooks/use-list-state/
Exact quote of what is wrong
should be
because implementation uses plain filter.
mantine/src/mantine-hooks/src/use-list-state/use-list-state.ts
Lines 86 to 88 in e267c1d
Are you willing to create pull request with the fix?
Yes
The text was updated successfully, but these errors were encountered: