Skip to content

Commit

Permalink
+ howMuchHaveIBet\contractData
Browse files Browse the repository at this point in the history
  • Loading branch information
cNoveron committed Feb 2, 2020
1 parent 7a084a4 commit c61097a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/src/MyComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,14 @@ export default ({ accounts }) => (
<ContractData contract="SportsBook" method="myBetWasPlaced" />
</p>
<p>
You're betting from: <AccountData accountIndex={0} units="ether" precision={6} />
<strong>How much have you bet?: </strong>
<ContractData contract="SportsBook" method="howMuchHaveIBet" />
</p>
<p>
You're betting from:
<span>
<AccountData accountIndex={0} units="ether" precision={6} />
</span>
</p>
</div>

Expand Down

0 comments on commit c61097a

Please sign in to comment.