We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06bc75e commit 9f93b8cCopy full SHA for 9f93b8c
frontend/src/components/RecipeCard/RecipeCard.tsx
@@ -25,7 +25,7 @@ export const RecipeCard = ({ recipe, favoriteRecipes, toggleFavorite }: Props) =
25
if (textRef.current) {
26
setTextHeight(textRef.current.clientHeight)
27
}
28
- }, [recipe])
+ }, [textRef.current])
29
30
const materialsConverted = recipe.materials.join("・")
31
0 commit comments