Solutionunvalidated
Refactor the code to render `RequireAuth` as layout routes — multiple nested `Outlet` components, one at each level of nesting. Outcome: Alternatively if you wanted to keep `RequireAuth` as a wrapper component then it should consume and render the `children` prop in place of the `Outlet`.
c4fde0be-3f87-416c-a388-dd6609f19d60
Refactor the code to render RequireAuth as layout routes — multiple nested Outlet components, one at each level of nesting. Outcome: Alternatively if you wanted to keep RequireAuth as a wrapper component then it should consume and render the children prop in place of the Outlet.