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
Copy file name to clipboardExpand all lines: compiled/facebook-www/ReactART-dev.classic.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3922,7 +3922,7 @@ __DEV__ &&
3922
3922
),
3923
3923
node.isTransition ||
3924
3924
error$jscomp$0(
3925
-
"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`"
3925
+
"An async function with useActionStatewas called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop."
Copy file name to clipboardExpand all lines: compiled/facebook-www/ReactART-dev.modern.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3828,7 +3828,7 @@ __DEV__ &&
3828
3828
),
3829
3829
node.isTransition ||
3830
3830
error$jscomp$0(
3831
-
"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`"
3831
+
"An async function with useActionStatewas called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop."
0 commit comments