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
It would be great to have a single button somewhere around filters to clear all the filters, not 1 by 1 or by editing URL by hands.
Example of code for it:
function handleFiltersClear() {
let updatedFilters = JSON.parse(JSON.stringify(filters));
updatedFilters.flat().forEach(filter => {
filter.selected = false;
});
setFilters(updatedFilters);
}
The text was updated successfully, but these errors were encountered:
It would be great to have a single button somewhere around filters to clear all the filters, not 1 by 1 or by editing URL by hands.
Example of code for it:
The text was updated successfully, but these errors were encountered: