devrsi0n/chirpy

Should redirect to previous page after logging in

devrsi0n opened this issue · 0 comments

Describe the bug

Currently, we navigate to the dashboard page after user logging in. But we should navigate to the previous page.

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone X]
  • OS: [e.g. iOS 12.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context