This simple refactor diff moves the useSelector to the parent component, allowing the child component to take any generic function.
This slightly improves performance in the case where selection from Redux state is not needed, which is the case in the new registration flow.
Depends on D8041