diff --git a/package-lock.json b/package-lock.json index 046f0b1..083540d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,11 @@ { "name": "nutrition-planner", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { + "version": "1.0.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/release/app/package-lock.json b/release/app/package-lock.json index 6c6cca7..b9f4730 100644 --- a/release/app/package-lock.json +++ b/release/app/package-lock.json @@ -1,12 +1,12 @@ { "name": "nutrition-planner", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "nutrition-planner", - "version": "1.0.0", + "version": "1.0.1", "hasInstallScript": true, "license": "MIT" } diff --git a/src/renderer/components/form-controls/SubitemField.tsx b/src/renderer/components/form-controls/SubitemField.tsx index 559e26e..031edc2 100644 --- a/src/renderer/components/form-controls/SubitemField.tsx +++ b/src/renderer/components/form-controls/SubitemField.tsx @@ -9,14 +9,14 @@ interface SubitemFieldProps { formikProps: FormikProps; fieldArrayHelpers: FieldArrayRenderProps; itemTypesIn: Array; - label: string; + label?: string; } export function SubitemField(props: SubitemFieldProps) { const { formikProps, fieldArrayHelpers, itemTypesIn, label } = props; return ( - {label} + {label && {label}} {formikProps.values.subitems?.map((value, index) => { return ( ; itemTypesIn: Array; name: string; - label: string; + label?: string; } export function SubitemFieldArray(props: SubitemFieldArrayProps) { diff --git a/tsconfig.json b/tsconfig.json index ccb6ee9..defa5d3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "module": "commonjs", "lib": ["dom", "es2022"], "jsx": "react-jsx", - "strict": true, + "strict": false, + "skipLibCheck": true, "sourceMap": true, "moduleResolution": "node", "esModuleInterop": true,