Skip to content

Commit

Permalink
Remove unused food props. Now it's beign used from the FoodDBContext
Browse files Browse the repository at this point in the history
  • Loading branch information
aivuk committed Jul 17, 2023
1 parent ebb0ebe commit 3ae34b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/FoodOfTheMonth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3ae34b1

Please sign in to comment.