Fix ServerAction rejection reason (#63744)
Recently the serverActionReducer was updated to no longer use React's thenable type to carry resolution/rejection information. However the rejection reason was not updated so now when a server action fails we were rejecting with `undefined` rather than the rejected reason. This change updates the reject to use the rejection value. Closes NEXT-2943
Showing
Please
register
or
sign in
to comment