fix skill info hover

This commit is contained in:
Mashy 2020-01-06 17:04:02 +10:00
parent b3b9d40262
commit 133a4929aa

View File

@ -27,6 +27,7 @@ class GameConstructEffects extends preact.Component {
&& (type === 'Effect' || type === 'Removal')) return true; && (type === 'Effect' || type === 'Removal')) return true;
} }
if (newProps.construct !== this.props.construct) return true; if (newProps.construct !== this.props.construct) return true;
if (newProps.gameSkillInfo !== this.props.gameSkillInfo) return true;
return false; return false;
} }