No layout

This is default Nextjs behaviour. No state is persisted when navigating between pages using the same layout.

Page3

Page3