I just want to get a value once from the redux store, and use it once inside of a useEffect function.
However useSelector is required to be on the root level of a com