#What am I doing wrong?
13 messages · Page 1 of 1 (latest)
Based on the error alone, you are using UserButton outside of a ClerkProvider. To give any more advice we would need to see the relevant code.
I somehow found a way but now I have a different problem
signOutCallback
Please share the actual error
React does not recognize the signOutCallback prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase signoutcallback instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Could you please share the signout button file?
here it is
Ah I didn't realize that component came from clerk. https://clerk.com/docs/components/unstyled/sign-out-button
So you can see in the docs, signOutCallback is not a valid prop
perhaps you meant to use signOutOptions