Right now I have my navigation stored in a component which the root.tsx file uses, when the user has signed in successfully, I want to update the navigation to include the user's name.
My root.tsx file:
function Layout({ children }) {
return (
<div className={"wrapper flex-row flex-fill 100vh"}>
<div className={"d-flex flex-column"}>
<Dashboard/>
</div>
<div className={"d-flex flex-column flex-fill"}>
{children}
</div>
</div>
);
}