|
@@ -10,7 +10,7 @@ const PropTypes = React.PropTypes;
|
|
|
|
|
|
const ConfirmBattle = (props) => {
|
|
const ConfirmBattle = (props) => {
|
|
return props.isLoading === true
|
|
return props.isLoading === true
|
|
- ? <Loading Zspeed={400} Ztext="Hold on a moment" />
|
|
|
|
|
|
+ ? <Loading speed={400} text="Hold on a moment" />
|
|
: (
|
|
: (
|
|
<MainContainer>
|
|
<MainContainer>
|
|
<h1>Confirm Players</h1>
|
|
<h1>Confirm Players</h1>
|
|
@@ -28,7 +28,7 @@ const ConfirmBattle = (props) => {
|
|
Initiate Battle!</button>
|
|
Initiate Battle!</button>
|
|
</div>
|
|
</div>
|
|
<div className="col-sm-12" style={styles.space}>
|
|
<div className="col-sm-12" style={styles.space}>
|
|
- <Link to="playerOne">
|
|
|
|
|
|
+ <Link to="/playerOne">
|
|
<button type="button" className="btn btn-lg btn-danger">Reselect players!</button>
|
|
<button type="button" className="btn btn-lg btn-danger">Reselect players!</button>
|
|
</Link>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
@@ -38,8 +38,8 @@ const ConfirmBattle = (props) => {
|
|
};
|
|
};
|
|
|
|
|
|
ConfirmBattle.propTypes = {
|
|
ConfirmBattle.propTypes = {
|
|
- onInitiateBattle: PropTypes.func.isRequired,
|
|
|
|
isLoading: PropTypes.bool.isRequired,
|
|
isLoading: PropTypes.bool.isRequired,
|
|
|
|
+ onInitiateBattle: PropTypes.func.isRequired,
|
|
playerInfo: PropTypes.array.isRequired
|
|
playerInfo: PropTypes.array.isRequired
|
|
};
|
|
};
|
|
|
|
|