States not working on production environment.

Hi,
I’m using States on my pages, works like a charm on preview, but doesn’t work on dev or prod environment (NextJS). I get undefined instead of state value. Am I missing something?

can you link us with details?

PM’d