GraphQL shopOrigin Cannot Get shopOrigin value

New Member
1 0 0

I am getting the shopOrigin of the graphQl client in the context of MyApp.getStaticProps (see first photo) and then assign it to the client that is in _app.js (see second photo).

Currently the shopOrigin is lost when I navigate from the index page forward (see third photo).

Since I cannot use the localStorage in an embedded public application because it is inserted in an IFrame, nor can I access the state of redux or its methods as _app.js is the parent component that has the wrapper of the next-redux library -wrapper.

Any ideas or possible solutions for this bug?

1st image1st image2nd image2nd image3rd image3rd image