Replies: 2 comments
-
Anyone have an answer for me? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Am I right in my assumption that this is actually a type correction since previously a user object was returned that contained only empty properties and now it's properly typed to return |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
thanks for the lib, have been using it since a couple of years now 🙏
After the upgrade to v1.1.0 I migrated everything according to the docs and the codemods but stumbled upon something I don't quite understand.
Looking at the following snippet...
...it used to be the case that the
user
prop on the context was just there. Now it's optional even though in my head this wrapper should take care of the case that the user is not authenticated (and redirect). Why is the user prop of typeUser | undefined
?thanks and kind regards
Beta Was this translation helpful? Give feedback.
All reactions