whew lad
This commit is contained in:
@@ -199,11 +199,8 @@ function Construct(props) {
|
||||
</figure>;
|
||||
});
|
||||
|
||||
const activeId = activeConstruct ? activeConstruct.id : false;
|
||||
const constructClass = activeId === construct.id ? 'instance-construct-active' : 'instance-construct';
|
||||
|
||||
return (
|
||||
<div key={construct.id} className={constructClass} onClick={onClick} >
|
||||
<div key={construct.id} class="instance-construct" onClick={onClick} >
|
||||
<ConstructAvatar name={construct.name} id={construct.id} />
|
||||
<h2 className="name" >{construct.name}</h2>
|
||||
<div className="skills" onMouseOver={e => hoverInfo(e, 'constructSkills')} >
|
||||
|
||||
Reference in New Issue
Block a user