codepod-io / codepod

Codepod IDE: Scalable Interactive Coding
https://codepod.io
MIT License
69 stars 16 forks source link

fix: handle useMe null; add typing to useMe #549

Closed lihebi closed 10 months ago

lihebi commented 10 months ago

When useMe returns error, it means no user is signed in. This PR handles it instead of just throwing errors, e.g., Anonymous users should be able to see public repos.