We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daf9144 + 6415a68 commit e06647aCopy full SHA for e06647a
server/database/prisma.yml
@@ -10,5 +10,3 @@ secret: mysecret123
10
11
# the file path pointing to your data model
12
datamodel: datamodel.graphql
13
-
14
-cluster: nikolas/prisma-eu1
src/components/Link.js
@@ -32,15 +32,14 @@ class Link extends Component {
32
</div>
33
)
34
}
35
+
36
_voteForLink = async () => {
37
const linkId = this.props.link.id
38
await this.props.voteMutation({
39
variables: {
40
linkId,
41
},
42
update: (store, { data: { vote } }) => {
43
- console.log(`update after vote: `, vote)
44
this.props.updateStoreAfterVote(store, vote, linkId)
45
46
})
0 commit comments