Next seems to not be respecting the layout.tsx

Attached is my layout.tsx in the root of the app directory. However When I navigate to subpages, sometimes the navbar (which in the layout.tsx) isn't there, (until I refresh the page). Also, when I navigate back up to the home page via links, the header is also gone in the home page. Why might this be the case where I have to refresh the page for the Navbar in the layout.tsx to appear?
image.png
image.png
image.png
Was this page helpful?