Skip to content

Commit

Permalink
return outbox item to submitForm()
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Aug 16, 2021
1 parent 0b21dc3 commit c810d65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/components/Form.js
Expand Up @@ -58,6 +58,8 @@ export default function Form({
}

setSubmitting(false);

return item;
}

const errors = parseApiError(error, data);
Expand Down

0 comments on commit c810d65

Please sign in to comment.