iamrita / enhanced-journal

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

Sign out immediately after login doesn't work. #23

Closed iamrita closed 1 year ago

iamrita commented 1 year ago

Describe the bug

If you log in, and then try to sign out, you are unable to. No error appears in the console, just as if the button doesn't work. However, if you go to the entries page, and then go back to the journal screen and try to sign out, that works.

To Reproduce

  1. Log in

  2. Hit Sign out

  3. Doesn't work

  4. Log in

  5. Go to Entries page

  6. Click "Back to Home"

  7. Sign out

  8. Works!

🤔

OS

No response

Node version

No response

iamrita commented 1 year ago

Fixed! Problem was that the journal screen and home screen were at the same route ("/") , and when I was logging out, I was just going back to "/". Now the journal screen is at "/journalscreen".