saleor / saleor-storefront

A GraphQL-powered, NextJs-based, PWA storefront for Saleor. IMPORTANT: This project is [DEPRECATED] in favor of saleor/react-storefront soon to become our default demo and storefront starter pack.
https://demo.saleor.io/
BSD 3-Clause "New" or "Revised" License
768 stars 677 forks source link

Displayed Nav and Footer Component #1093

Open zhuangww05 opened 3 years ago

zhuangww05 commented 3 years ago

Problem Introducation When turn to Account or Checkout page, Nav and Footer Component will display untill refresh current page. Step to reproduce the problem 1.turn to the account page 2.turn to the checkout page What I expected to happen Nav and Footer always there when turn to the account page or checkout page THANK YOU!

tmechsner commented 3 years ago

I just found this issue too, with the account page and other custom added pages. The navigation is gone but what's worse: In this case the translation is gone too!! So in my shop, which is in German language, someone goes to the view the account - the language switches to english. Did you find a workaround?

tmechsner commented 3 years ago

My workaround: Throw away everything from the custom app getInitialProps and instead load the data directly in the components where these data are needed. Now the menues and the translation work everywhere for me.