[Zustand] [Games Hub Project] Sort Selector Doesn't work anymore

Dears,

After moving my GameQuery state from react-context to Zustand, for a reason, the sorting functionality doesn’t work anymore.

Here is the code repository branch on Github:

Could anyone help with that?
Thanks in advance!

One more issue, The NavBar component for example, still re-renders every time the state changes.

Your code does not match what Mosh has for his selector.

if it doesn’t work then there must be a problem!
use
console.log(some_var_shit)
to see what’s going on (expectation Vs reality).
That is how we developers solve/fix issues.