This commit is contained in:
ntr
2019-05-02 16:44:11 +10:00
parent 423f4fcfbc
commit 6c13dc0d15
2 changed files with 10 additions and 14 deletions
-7
View File
@@ -179,18 +179,11 @@ function GamePanel(props) {
);
}
const mobileSkills = activeCryp && activeCryp.green_life.value
? range(0, 3).map(i => <SkillBtn key={i} cryp={activeCryp} i={i} mobile={true} />)
: (<div/>);
return (
<main className="game" onClick={() => setActiveCryp(null)} >
{header}
{timer}
{PlayerTeam(playerTeam, setActiveSkill)}
<div className="mobile-skills">
{mobileSkills}
</div>
<div className="mobile-spacer">&nbsp;</div>
{otherTeams.map(OpponentTeam)}
</main>