diff --git a/src/foodItems.tsx b/src/foodItems.tsx index 32d4ad7..bacd80f 100644 --- a/src/foodItems.tsx +++ b/src/foodItems.tsx @@ -16,7 +16,7 @@ export const FoodItemsContainer = (props: { } function shouldShowItem(contents, exclude: FoodExcludeTypes): boolean { - + if (!exclude) return false; for (let key of Object.keys(exclude)) { if (Object.keys(contents).includes(key)) { if (!exclude[key]) return false; @@ -59,7 +59,7 @@ export class AdvancedFoodItem extends Component -
+
{this.props.title}

{this.props.extra}