Skip to content

Commit

Permalink
Remove unnecessary nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jul 16, 2023
1 parent dd5d387 commit 0dac43f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions astroplant-frontend/src/scenes/kit/configure/create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ export default function CreateConfiguration() {
{done ? (
<Navigate to={`../${result!.id}`} replace />
) : (
<>
<CreateConfigurationForm
schema={schema}
uiSchema={uiSchema}
send={send}
onResponse={onResponse}
/>
</>
<CreateConfigurationForm
schema={schema}
uiSchema={uiSchema}
send={send}
onResponse={onResponse}
/>
)}
</Segment>
</Container>
Expand Down

0 comments on commit 0dac43f

Please sign in to comment.