hc-institute-japan / kizuna

https://kizuna.foundation/en/
Other
32 stars 5 forks source link

Access the website from a profile url and login #128

Open pegaltier opened 2 years ago

pegaltier commented 2 years ago

Describe the bug If i'm not logged and I access the website from a profile url then I login I'm finally redirected to the previous profile url but there is an error:

To Reproduce Steps to reproduce the behavior:

  1. Be offline (not logged)
  2. Go to '...'
  3. Login
  4. Wait to be redirected to the previous url
  5. See error

Expected behavior A clear and concise description of what you expected to happen.

Logs react-dom.production.min.js:209 TypeError: Cannot read properties of undefined (reading 'profile') at ir (main.2089deca.chunk.js:1:228080)

Desktop (please complete the following information):