Closed lijim closed 1 year ago
The Profile Page was crashing b/c the first load of the useLoggedInPlayerInfo hook was returning null. Added some defensive programming checks to bail out early in the component if the returned value was null
useLoggedInPlayerInfo
Also: added a test for this to fix it fully:
The Profile Page was crashing b/c the first load of the
useLoggedInPlayerInfo
hook was returning null. Added some defensive programming checks to bail out early in the component if the returned value was nullAlso: added a test for this to fix it fully: