Open iners-max opened 2 years ago
Same for me
i am having same issue plz help
By any chance the component hosting the hook is getting rendered twice? or can you provide some more context on the usage?
I had the same issue in development due to
@kallsbo Thanks, This works
Same issue coming for me! Strict mode didn't solve the issue, still being called twice!
Removing
I am having same is there any solution to that apart from removing StrictMode
I am having same is there any solution to that apart from removing StrictMode
Good day @gauravp-dev , did you get a solution to this? I am currently experiencing the same issue
When I get the authorization code from the onSuccess callback, I will try to retrieve an access token from LinkedIn. However, I found that the
onSuccess
callback is always called twice with the same authorization code. It will trigger my function to LinkedIn twice causing LinkedIn to return an error saying my authorization code is expired in the second call.Is it intented?