Fix typescript

This commit is contained in:
Sebastian Seedorf
2022-08-19 16:47:02 +02:00
parent 096dc351b3
commit f9616dbaba

View File

@@ -8,7 +8,7 @@ interface Props {
}
export const RecipeSpan: FC<Props> = ({ recipe }) => {
const toEntityIcon = ([key, amount]: [string, number]) => (
const toEntityIcon = ([key, amount]: [string, number | undefined]) => (
<EntityIcon key={key} value={key} amount={amount} />
)
const joinByPlus = (elems: JSX.Element[]) =>