8000 Uncaught TypeError: this.$store.state.contractInstance is not a function · Issue #1 · kyriediculous/dapp-tutorial · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Uncaught TypeError: this.$store.state.contractInstance is not a function #1
Open
@tomasmaks

Description

@tomasmaks

Great work! this is one of the best example on the internet today to start building Dapp!

Just on issue. I copied all of your code to my project, but I still get an error, even if my code is the same.

Console shows:

Uncaught TypeError: this.$store.state.contractInstance is not a function

This error is showed on this line of code:

this.$store.state.contractInstance().bet(event.target.innerHTML, {

Do you know what I am missing, that I get this error.

Thank you in advance.