Fix typescript
This commit is contained in:
@@ -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[]) =>
|
||||
|
||||
Reference in New Issue
Block a user