Skip to content

Commit

Permalink
Fix like plural form in recipe item og image
Browse files Browse the repository at this point in the history
  • Loading branch information
T1LT committed Jan 21, 2024
1 parent d4fedec commit 32ffc82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/(recipes)/recipe/[id]/opengraph-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ export default async function MainOG({
year: "numeric",
})}
</span>
<span>{recipe.likes} Likes</span>
<span>
{recipe.likes} Like{recipe.likes !== 1 ? <span>s</span> : null}
</span>
</div>
</div>
</div>
Expand Down

0 comments on commit 32ffc82

Please sign in to comment.