iamrita / enhanced-journal

Using ChatGPT for better journaling sessions
MIT License
2 stars 1 forks source link

Need to persist email across multiple pages #21

Closed iamrita closed 1 year ago

iamrita commented 1 year ago

Describe the bug

Email needs to be persisted across navigation. Probably need to use useContext here.

To Reproduce

Repro Steps:

  1. Log in.
  2. Go to journal entries. Your entries should be there.
  3. Go back home to the journal page.
  4. Go back to the journal entries. Nothing shows up.

OS

No response

Node version

No response

iamrita commented 1 year ago

Fixed by using SessionStorage.