Hi there, not sure what's going on or if i made a mistake, but
Here's is my pages folder (for the sake of the simplicity i'll leave out all the unnecessary stuff)
index.tsx
prices/index.tsx
prices/example.tsx
I configured layout for each page with navbar/footer following typescript example from this page https://nextjs.org/docs/basic-features/layouts
when i'm switching route like this index->prices/index
the state of navbar is preserved and everything works as expected
when i'm doing index->prices/example state of navbar is lost and my layout is slightly broken
same thing happens when i open new browser tab and go to prices/example
and if i do index->prices/index->prices/example it works as expected, am i missing here something?