Skip to content

Commit 9f93b8c

Browse files
committed
padding
1 parent 06bc75e commit 9f93b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/RecipeCard/RecipeCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const RecipeCard = ({ recipe, favoriteRecipes, toggleFavorite }: Props) =
2525
if (textRef.current) {
2626
setTextHeight(textRef.current.clientHeight)
2727
}
28-
}, [recipe])
28+
}, [textRef.current])
2929

3030
const materialsConverted = recipe.materials.join("・")
3131

0 commit comments

Comments
 (0)