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