Problemunvalidated
event.value != sortBy — setSort(event.value). Tension: I can't use the state variable inside of this function. It doesn't await, resolve or behave the way I think it will. Outcome: console.log(store.getState().sortBy) // event.value == sortBy.
0c52dba1-ce40-4cb9-84c6-ae133022788f
event.value != sortBy — setSort(event.value). Tension: I can't use the state variable inside of this function. It doesn't await, resolve or behave the way I think it will. Outcome: console.log(store.getState().sortBy) // event.value == sortBy.