diff --git a/src/components/Launch/LaunchForm/StructInput.tsx b/src/components/Launch/LaunchForm/StructInput.tsx index 7ef9c91e7..d90ef58a1 100644 --- a/src/components/Launch/LaunchForm/StructInput.tsx +++ b/src/components/Launch/LaunchForm/StructInput.tsx @@ -13,6 +13,13 @@ const muiTheme = createMuiTheme({ MuiTextField: { variant: 'outlined' } + }, + overrides: { + MuiButton: { + label: { + color: 'gray' + } + } } }); @@ -76,7 +83,7 @@ export const StructInput: React.FC = props => { } const [paramData, setParamData] = useState( - jsonFormRenderable ? JSON.parse(value as string) : {} + jsonFormRenderable && value ? JSON.parse(value as string) : {} ); const onFormChange = ({ formData }, e) => {