You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, it shows nothing for a while after users are signing up. Users should be able to see the homepage instead of empty screen.
Xiawpohr
changed the title
[UST-222] Enter the homepage immediately after signing up
[UST-222] [Frontend] Enter the homepage immediately after signing up
Oct 26, 2024
Is your feature request related to a problem? Please describe.
Currently, it shows nothing for a while after users are signing up. Users should be able to see the homepage instead of empty screen.
Describe the solution you'd like
推測造成白屏的原因是因為這行,ProtectedRoute 會檢查使用者是否有登入 ,當使用者還沒完成登入時,就不會顯示任何畫面(白屏)。至於登入會花這麼久的原因在於 Syncronizer 需要先完成同步,才算登入完成,之後才可以產生正確的 Proof。
當使用者正在登入時,應該要直接進入 app,但是所有動作要等登入完成後,才可以按。
應當把是否登入的檢查從 ProtectedRoute 移除,並在每個動作(如:發文、留言、檢舉、按讚、倒讚)前,加入“是否登入”的檢查。
Story point: 3
Reporter: @Xiawpohr
The text was updated successfully, but these errors were encountered: