mirror of
https://github.com/wassname/talk.git
synced 2026-08-07 11:29:44 +08:00
Correct optimitic updates
This commit is contained in:
@@ -42,7 +42,11 @@ function commit(environment: Environment, input: CreateCommentReactionInput) {
|
||||
myActionPresence: {
|
||||
reaction: false,
|
||||
},
|
||||
actionCounts: currentCount - 1,
|
||||
actionCounts: {
|
||||
reaction: {
|
||||
total: currentCount - 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
clientMutationId: clientMutationId.toString(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user