empty equip

This commit is contained in:
ntr
2019-05-21 11:32:44 +10:00
parent 2c532aa7d1
commit 246489c342
4 changed files with 34 additions and 26 deletions
+3
View File
@@ -108,6 +108,9 @@ function Equipment(props) {
} return false;
});
if (skills.every(s => !s)) skills.push(<button disabled={true}>&nbsp;</button>);
if (specs.every(s => !s)) specs.push(<figure key={0}>&nbsp;</figure>);
return (
<div className="equip" >
<div className={skillClass} onClick={e => unequipClick(e)} onMouseOver={e => hoverInfo(e, 'equipSkills')} >