Only increme once

This commit is contained in:
Chi Vinh Le
2018-01-18 20:31:51 +01:00
parent 72331699b5
commit a111439541
@@ -80,7 +80,6 @@ export function handleFlaggedUsernameChange(root, user, notify) {
notify();
return update(root, {
flaggedUsernamesCount: { $apply: count => count + 1 },
flaggedUsers: {
nodes: { $push: [user] },
},