Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cbolles committed Nov 26, 2024
1 parent 99be4e4 commit 593655b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/pages/ExperimentForm.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { JsonForms } from '@jsonforms/react';
import { materialRenderers, materialCells } from '@jsonforms/material-renderers';
import { JsonSchema, JsonSchema7 } from '@jsonforms/core';
import { JsonSchema7 } from '@jsonforms/core';
import { Box, Stack, Button } from '@mui/material';
import { ErrorObject } from 'ajv';
import { useState } from 'react';
Expand Down Expand Up @@ -29,7 +29,7 @@ const getSchema = (metaboliteType: MetaboliteType | null) => {
];
}

let metaboliteParams: JsonSchema7 = {
const metaboliteParams: JsonSchema7 = {
type: 'object',
title: 'Metabolite Parameters',
properties: {
Expand All @@ -52,7 +52,7 @@ const getSchema = (metaboliteType: MetaboliteType | null) => {
}
},
required: ['type']
}
};

if (metaboliteType != MetaboliteType.Rich) {
metaboliteParams!.properties!['concentration'] = {
Expand Down

0 comments on commit 593655b

Please sign in to comment.