take particles out for prod
This commit is contained in:
@@ -101,7 +101,6 @@ function GamePanel(props) {
|
||||
style={ activeSkill ? { cursor: 'pointer' } : {}}
|
||||
className={`cryp-box ${ko}`} >
|
||||
<div className="cryp-box-top">
|
||||
<div id={`particles-${cryp.id}`} className="particle"> </div>
|
||||
<figure
|
||||
className="img"
|
||||
onClick={() => selectSkillTarget(cryp.id)} >
|
||||
|
||||
@@ -38,7 +38,7 @@ const addState = connect(
|
||||
function receiveDispatch(dispatch) {
|
||||
function setActiveSkill(crypId, skill) {
|
||||
dispatch(actions.setActiveSkill(crypId, skill));
|
||||
particlesJS(`particles-${crypId}`, config);
|
||||
// particlesJS(`particles-${crypId}`, config);
|
||||
}
|
||||
|
||||
function setActiveIncoming(skillId) {
|
||||
|
||||
Reference in New Issue
Block a user