Skip to content

Commit e06647a

Browse files
committed
Merge branch 'master' of github.com:howtographql/react-apollo
2 parents daf9144 + 6415a68 commit e06647a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

server/database/prisma.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,3 @@ secret: mysecret123
1010

1111
# the file path pointing to your data model
1212
datamodel: datamodel.graphql
13-
14-
cluster: nikolas/prisma-eu1

src/components/Link.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@ class Link extends Component {
3232
</div>
3333
)
3434
}
35-
35+
3636
_voteForLink = async () => {
3737
const linkId = this.props.link.id
3838
await this.props.voteMutation({
3939
variables: {
4040
linkId,
4141
},
4242
update: (store, { data: { vote } }) => {
43-
console.log(`update after vote: `, vote)
4443
this.props.updateStoreAfterVote(store, vote, linkId)
4544
},
4645
})

0 commit comments

Comments
 (0)