Commit 13c77f9f authored by Viktor Velev's avatar Viktor Velev

Sync

parent 4b6e93b6
......@@ -70,7 +70,9 @@ export default class BetPage extends Component {
betItem () {
return (
<div>BetItem</div>
<div>Your bet
</div>
)
}
......@@ -102,15 +104,20 @@ export default class BetPage extends Component {
return (
<div className="available-bet">
{this.state.chosenBet.away} vs {this.state.chosenBet.home}
Match Scores
Set Scores
</div>
)
}
}
renderChosenBet() {
return (
<div className="chosen-bets">
<Segment>
{this.state.chosenBet.away} vs {this.state.chosenBet.home}
odds {this.state.chosenBet}
</Segment>
</div>
)
}
render() {
......@@ -135,11 +142,11 @@ export default class BetPage extends Component {
</Segment>
<Segment className="front all-available-bets">
<Header attached className="titles">'Selected Sport' All Bets </Header>
{this.renderAvailableBets()}
{this.state.chosenBet.length !== 0 ? this.renderAvailableBets() : "No bet chosen"}
</Segment>
<Segment className="rear bets-to-submit">
<Header attached className="titles"> Current bets </Header>
{this.renderChosenBet()}
{this.state.chosenBet.length !== 0 ? this.renderChosenBet() : "No bet chosen"}
</Segment>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment