Skip to content

Commit

Permalink
Fix function argument for reduceAnimalsWithFoods
Browse files Browse the repository at this point in the history
  • Loading branch information
ProchaLu committed Oct 8, 2024
1 parent eb34f5a commit ea5abd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/animals/with-foods/[animalId]/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default async function AnimalFoodsPage(props) {
notFound();
}

const animalWithFoods = reduceAnimalsWithFoods(animalWithFoodsArray);
const animalWithFoods = reduceAnimalsWithFoods(animalsWithFoods);

return (
<div>
Expand Down

0 comments on commit ea5abd4

Please sign in to comment.