Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fix onSubmit after merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Harrington committed Oct 5, 2017
1 parent fa7b7ad commit ed9f00a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/api-explorer-ui/src/Params.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ function Params({ oas, operation, formData, onChange, onSubmit }) {
int32: UpDownWidget,
TextWidget,
}}
// eslint-disable-next-line no-console
onSubmit={form => onSubmit() && console.log('submit', form.formData)}
onSubmit={onSubmit}
formData={formData[schema.type]}
onChange={form => {
// return onChange({ [schema.type]: { $set: form.formData } })
Expand Down

0 comments on commit ed9f00a

Please sign in to comment.