This commit is contained in:
ntr
2019-05-24 13:13:39 +10:00
parent a20eaf12bc
commit 4469d901e3
4 changed files with 38 additions and 36 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ const preact = require('preact');
const range = require('lodash/range');
const shapes = require('./shapes');
const { SPECS, STATS, crypAvatar } = require('../utils');
const { SPECS, STATS, instanceCryp } = require('../utils');
const actions = require('../actions');
const addState = connect(
@@ -205,7 +205,7 @@ function Cryp(props) {
return (
<div key={cryp.id} className={crypClass} onClick={onClick} >
{crypAvatar(cryp.name)}
{instanceCryp(cryp.name)}
<h2 className="name" >{cryp.name}</h2>
<div className="skills" onMouseOver={e => hoverInfo(e, 'crypSkills')} >
{skills}