Skip to content

Commit

Permalink
Remove form values
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgain committed Feb 1, 2024
1 parent 743655a commit c5eb719
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions src/client/modules/ExportWins/Form/AddExportWinForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,14 @@ const AddExportWinForm = ({ isEditing, csrfToken, currentAdviserId }) => {
id: queryParams.export || queryParams.exportwin,
}}
>
{({ values }) => {
return (
<>
<OfficerDetailsStep {...stepProps} />
<CreditForThisWinStep {...stepProps} />
<CustomerDetailsStep {...stepProps} />
<WinDetailsStep {...stepProps} />
<SupportProvidedStep {...stepProps} />
<CheckBeforeSendingStep {...stepProps} />
<pre>{JSON.stringify(values, null, 2)}</pre>
</>
)
}}
<>
<OfficerDetailsStep {...stepProps} />
<CreditForThisWinStep {...stepProps} />
<CustomerDetailsStep {...stepProps} />
<WinDetailsStep {...stepProps} />
<SupportProvidedStep {...stepProps} />
<CheckBeforeSendingStep {...stepProps} />
</>
</Form>
</FormLayout>
</DefaultLayout>
Expand Down

0 comments on commit c5eb719

Please sign in to comment.