Closed kuv2707 closed 1 week ago
Comment '@csoc-bot claim' to get this issue assigned or '@csoc-bot abandon' to get this issue unassigned.
This issue is suitable for first timers
@kuv2707 Also JoinGameModal appears on clicking start game without logging in.
Yes, i know. That modal has its own problems, to be handled separately
@csoc-bot claim
@Spikoftw This issue has been successfully assigned to you! 🚀
Description
When clicking on 'Create Game" without logging in, the screen flickers and a toast is displayed. This is because the GameProvider on mounting checks the auth state and returns if not logged in.
We can fix this flicker by checking it in the homepage itself, before navigating to the game page. (We should leave the GameContext undisturbed)