Skip to content

Commit

Permalink
another test change
Browse files Browse the repository at this point in the history
  • Loading branch information
ARADDCC002 committed Jan 10, 2025
1 parent 15a7c4c commit 63391c0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/Form/JsonSchemaForm.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Grid2, List, ListItem, ListItemButton, Stepper, Typography } from '@mui/material'
import { Grid, List, ListItem, ListItemButton, Stepper, Typography } from '@mui/material'
//import { useTheme } from '@mui/material/styles'
import Form from '@rjsf/mui'
import { RJSFSchema } from '@rjsf/utils'
Expand Down Expand Up @@ -48,8 +48,8 @@ export default function JsonSchemaForm({
}

return (
<Grid2 container spacing={2} sx={{ mt: 1 }}>
<Grid2 size={{ xs: 12, md: 2 }} sx={{ borderRight: 1 }}>
<Grid container spacing={2} sx={{ mt: 1 }}>
<Grid item xs={12} md={2} sx={{ borderRight: 1 }}>
<Stepper activeStep={activeStep} nonLinear alternativeLabel orientation='vertical' connector={<Nothing />}>
<List sx={{ width: { xs: '100%' } }}>
{splitSchema.steps.map((step, index) => (
Expand All @@ -70,8 +70,8 @@ export default function JsonSchemaForm({
))}
</List>
</Stepper>
</Grid2>
<Grid2 size={{ xs: 12, md: 10 }}>
</Grid>
<Grid item xs={12} sm={10}>
<Form
schema={currentStep.schema}
formData={currentStep.state}
Expand Down Expand Up @@ -105,7 +105,7 @@ export default function JsonSchemaForm({
{/* eslint-disable-next-line react/jsx-no-useless-fragment */}
<></>
</Form>
</Grid2>
</Grid2>
</Grid>
</Grid>
)
}

0 comments on commit 63391c0

Please sign in to comment.