You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the very least the return from useActionState should be compatible with signIn prop of SignInPage:
const[whatever,action,isPending]=useActionState(async(_,formData)=>{// logic},{},);// this one works but emits error in console<SignInPagesignIn={(provider,formData)=>action(formData)}/>// this one results in full screen error<SignInPagesignIn={action}/>
Error: An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an action prop, or dispatch manually inside startTransition
No description provided.
The text was updated successfully, but these errors were encountered: