Replies: 1 comment
-
This won’t work as
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a function that returns the JWT from localStorage. I wrapped this function with
useQuery
. I'd like to set the stale time based on the JWT's expiration property.This is the code I have:
Is there a better solution?
Beta Was this translation helpful? Give feedback.
All reactions