You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came from a standard useState hook and my code was working properly.
Now, I can't update my state (the custom_filters object) with the SetFilters method below
I came from a standard useState hook and my code was working properly.
Now, I can't update my state (the custom_filters object) with the SetFilters method below
This is working :
setFilters({[paramId]: value });
but I need to keep all my items inside custom_filters.There is something wrong with my code?
Thank you for your help
The text was updated successfully, but these errors were encountered: