Open iamrita opened 1 year ago
(Modified from original issue which was solved in the entries page)
when you refresh the journal page after logging in, you'll get this error:
ReferenceError: sessionStorage is not defined
No response
Simple fix: moved const email = sessionStorage.getItem("email"); to inside the useEffect() hook.
const email = sessionStorage.getItem("email");
useEffect()
Describe the bug
(Modified from original issue which was solved in the entries page)
when you refresh the journal page after logging in, you'll get this error:
ReferenceError: sessionStorage is not defined
To Reproduce
OS
No response
Node version
No response