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.
Was this page helpful?