score:1

filtersSelected = {
  condition = Object.values(condition),
  color = Object.values(color)
}

score:1

 const filtersSelected = () => {
    allfilters.filter1 = conditionFilter;
    allfilters.filter2 = colorFilter;
    SetAllfilters({ ...allfilters });
  };
  console.log(allfilters);

Related Query

More Query from same tag