RootCauseunvalidated
console.log(sortBy) // this is the zustand state variable that is in scope — setSort(event.value). Tension: I expect these would be the same, but they aren't! Outcome: console.log(store.getState().sortBy) // event.value == sortBy.
6e940ff3-7ab7-431d-8e1b-c37d326ee047
console.log(sortBy) // this is the zustand state variable that is in scope — setSort(event.value). Tension: I expect these would be the same, but they aren't! Outcome: console.log(store.getState().sortBy) // event.value == sortBy.