You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when page 1 loads, the value from process.env.DEV_ONLY_DOMAIN doesn't get put into session storage, even though the value does from through into the domain variable.
I think for some reason, this line is not running correctly in the hook's code:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have/had a very simple setup that on page 1 of a sequential journey I had:
However when page 1 loads, the value from
process.env.DEV_ONLY_DOMAIN
doesn't get put into session storage, even though the value does from through into thedomain
variable.I think for some reason, this line is not running correctly in the hook's code:
In that when I pass a default value, it does not go into Session Storage.
This has led me to use a
useEffect
approach to initialize the values into session storage:Thoughts and advice welcome.
Beta Was this translation helpful? Give feedback.
All reactions