From 3ae34b1394e1957257d7b9b2e289188ac150b166 Mon Sep 17 00:00:00 2001 From: Edgar Zanella Alvarenga Date: Mon, 17 Jul 2023 15:11:35 +0200 Subject: [PATCH] Remove unused food props. Now it's beign used from the FoodDBContext --- src/routes/FoodOfTheMonth.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/FoodOfTheMonth.tsx b/src/routes/FoodOfTheMonth.tsx index ca1d648..23ff8f0 100644 --- a/src/routes/FoodOfTheMonth.tsx +++ b/src/routes/FoodOfTheMonth.tsx @@ -18,7 +18,7 @@ import { FoodDBContext } from "../contexts/FoodDB" import React from "react" -export default function FoodOfTheMonth({ food }: { food: FoodList }) { +export default function FoodOfTheMonth() { const [food, _] = React.useContext(FoodDBContext) const { selectedMonthNum } = useParams(); const { t } = useTranslation();