-
I'd like to display a skeleton until I know whether this is really an unlogged in user or if it's just the no-session first render. |
Beta Was this translation helpful? Give feedback.
Answered by
flybayer
Nov 24, 2020
Replies: 1 comment
-
Like this :) const session = useSession()
if (session.isLoading) {
return <div>Loading...</div>
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
flybayer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Like this :)