diff --git a/app/assets/javascripts/discourse/templates/user/summary.hbs b/app/assets/javascripts/discourse/templates/user/summary.hbs
index 44105c9567a..1b1a12eb938 100644
--- a/app/assets/javascripts/discourse/templates/user/summary.hbs
+++ b/app/assets/javascripts/discourse/templates/user/summary.hbs
@@ -98,7 +98,7 @@
{{i18n "user.summary.most_replied_to_users"}}
{{#if model.most_replied_to_users.length}}
- {{#each user in model.most_replied_to_users}}
+ {{#each model.most_replied_to_users as |user|}}
-
{{#user-info user=user}}
{{fa-icon "reply"}}
@@ -135,7 +135,7 @@
{{i18n "user.summary.most_liked_users"}}
{{#if model.most_liked_users.length}}
- {{#each user in model.most_liked_users}}
+ {{#each model.most_liked_users as |user|}}
-
{{#user-info user=user}}
{{fa-icon "heart"}}