Skip to content
Discussion options

You must be logged in to vote

You are totally right! data.value is an useSwr checking for localStorage item that doesnt exist when users initialize the page :D and return undefined ! thank you James you are great.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@danilockthar
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jamesmosier
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jamesmosier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants