conditional useSelect
As hooks can only be called at top level, is there any way possible to call useSelect hook only when a particular state variable is set.
useSelect only when a particular state variable is set. Hooks must be called at the top level of your component. useEffect that runs when your state changes. Note: you can ask me a follow up question by @ mentioning me again 