-
-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update @toolpad/core to React 19 #4499
Comments
+1 |
At the very least the return from const [whatever, action, isPending] = useActionState(
async (_, formData) => {
// logic
},
{},
);
// this one works but emits error in console
<SignInPage signIn={(provider, formData) => action(formData)} />
// this one results in full screen error
<SignInPage signIn={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 |
@oliviertassinari any plans on this? |
Supporting |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. |
No description provided.
The text was updated successfully, but these errors were encountered: