From da8ebb5cc970cbf02ca4533458afbcc7a606d8a8 Mon Sep 17 00:00:00 2001 From: ChaotiCryptidz Date: Thu, 2 Jun 2022 16:16:15 +0100 Subject: [PATCH] extra! --- src/foodItems.tsx | 2 ++ src/mainPage.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/foodItems.tsx b/src/foodItems.tsx index 7833336..9ad1cf2 100644 --- a/src/foodItems.tsx +++ b/src/foodItems.tsx @@ -4,10 +4,12 @@ import { FoodExcludeTypes } from "./types"; export const FoodItemsContainer = (props: { children: JSX.Element | JSX.Element[] | null title: string, + extra?: string, }): JSX.Element => { return (

{props.title}

+ {props.extra &&

{props.extra}

}
{props.children}
diff --git a/src/mainPage.tsx b/src/mainPage.tsx index 5518e0c..c376b8f 100644 --- a/src/mainPage.tsx +++ b/src/mainPage.tsx @@ -120,7 +120,7 @@ export class MainPage extends Component
- +