diff --git a/components/home/Recipe/Recipe.tsx b/components/home/Recipe/Recipe.tsx index a834e52..a4f4357 100644 --- a/components/home/Recipe/Recipe.tsx +++ b/components/home/Recipe/Recipe.tsx @@ -8,7 +8,7 @@ interface Props { } export const RecipeSpan: FC = ({ recipe }) => { - const toEntityIcon = ([key, amount]: [string, number]) => ( + const toEntityIcon = ([key, amount]: [string, number | undefined]) => ( ) const joinByPlus = (elems: JSX.Element[]) =>