Skip to content

Commit

Permalink
Some configuration changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pauljonescodes committed Feb 22, 2024
1 parent 3c363b3 commit ce21a66
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions release/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/renderer/components/form-controls/SubitemField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ interface SubitemFieldProps {
formikProps: FormikProps<ItemInterface>;
fieldArrayHelpers: FieldArrayRenderProps;
itemTypesIn: Array<ItemTypeEnum>;
label: string;
label?: string;
}

export function SubitemField(props: SubitemFieldProps) {
const { formikProps, fieldArrayHelpers, itemTypesIn, label } = props;
return (
<VStack spacing={0} pb={2}>
<FormLabel>{label}</FormLabel>
{label && <FormLabel>{label}</FormLabel>}
{formikProps.values.subitems?.map((value, index) => {
return (
<SubitemAutoCompleteInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface SubitemFieldArrayProps {
formikProps: FormikProps<ItemInterface>;
itemTypesIn: Array<ItemTypeEnum>;
name: string;
label: string;
label?: string;
}

export function SubitemFieldArray(props: SubitemFieldArrayProps) {
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"module": "commonjs",
"lib": ["dom", "es2022"],
"jsx": "react-jsx",
"strict": true,
"strict": false,
"skipLibCheck": true,
"sourceMap": true,
"moduleResolution": "node",
"esModuleInterop": true,
Expand Down

0 comments on commit ce21a66

Please sign in to comment.