Commit 19bf91406114f251a3218b5c45c4a69e95d11f84
block warning: whoops, remove unnecessary computed
Matt McKegg committed on 10/16/2017, 11:45:05 PMParent: edd19ac16c2732b2754c1235d583233b40c3bb00
Files changed
modules/page/html/render/profile.js | changed |
modules/profile/html/preview.js | changed |
modules/page/html/render/profile.js | ||
---|---|---|
@@ -164,12 +164,9 @@ | ||
164 | 164 | h('a', { |
165 | 165 | href: '#', |
166 | 166 | 'ev-click': send(displayBlockingFriends, yourBlockingFriends) |
167 | 167 | }, [ |
168 | - '⚠️ ', | |
169 | - computed(mutualFriends, (items) => { | |
170 | - return plural('This person is blocked by %s of your friends.', yourBlockingFriends.length) | |
171 | - }) | |
168 | + '⚠️ ', plural('This person is blocked by %s of your friends.', yourBlockingFriends.length) | |
172 | 169 | ]) |
173 | 170 | ]) |
174 | 171 | } else if (value[0] > 2 || value[1] === undefined) { |
175 | 172 | return h('section -distanceWarning', [ |
modules/profile/html/preview.js | ||
---|---|---|
@@ -70,12 +70,9 @@ | ||
70 | 70 | h('a', { |
71 | 71 | href: '#', |
72 | 72 | 'ev-click': send(displayBlockingFriends, yourBlockingFriends) |
73 | 73 | }, [ |
74 | - '⚠️ ', | |
75 | - computed(mutualFriends, (items) => { | |
76 | - return plural('This person is blocked by %s of your friends.', yourBlockingFriends.length) | |
77 | - }) | |
74 | + '⚠️ ', plural('This person is blocked by %s of your friends.', yourBlockingFriends.length) | |
78 | 75 | ]) |
79 | 76 | ]) |
80 | 77 | } else if (value[0] > 2 || value[1] === undefined) { |
81 | 78 | return h('section -distanceWarning', [ |
Built with git-ssb-web