git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 19bf91406114f251a3218b5c45c4a69e95d11f84

block warning: whoops, remove unnecessary computed

Matt McKegg committed on 10/16/2017, 11:45:05 PM
Parent: edd19ac16c2732b2754c1235d583233b40c3bb00

Files changed

modules/page/html/render/profile.jschanged
modules/profile/html/preview.jschanged
modules/page/html/render/profile.jsView
@@ -164,12 +164,9 @@
164164 h('a', {
165165 href: '#',
166166 'ev-click': send(displayBlockingFriends, yourBlockingFriends)
167167 }, [
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)
172169 ])
173170 ])
174171 } else if (value[0] > 2 || value[1] === undefined) {
175172 return h('section -distanceWarning', [
modules/profile/html/preview.jsView
@@ -70,12 +70,9 @@
7070 h('a', {
7171 href: '#',
7272 'ev-click': send(displayBlockingFriends, yourBlockingFriends)
7373 }, [
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)
7875 ])
7976 ])
8077 } else if (value[0] > 2 || value[1] === undefined) {
8178 return h('section -distanceWarning', [

Built with git-ssb-web