From 32701ed75449d6003a59bb266a3cf76c063894b7 Mon Sep 17 00:00:00 2001 From: ntr Date: Thu, 16 Jan 2020 13:13:34 +1000 Subject: [PATCH] more general skillbtn disable --- client/src/components/game.construct.skill.btn.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/game.construct.skill.btn.jsx b/client/src/components/game.construct.skill.btn.jsx index 553bdcc1..b0cf1995 100644 --- a/client/src/components/game.construct.skill.btn.jsx +++ b/client/src/components/game.construct.skill.btn.jsx @@ -82,11 +82,11 @@ function Skill(props) { const border = buttons[removeTier(s.skill)] ? buttons[removeTier(s.skill)]() : ''; - const finished = game.phase === 'Finished'; + const notSkill = game.phase !== 'Skill'; return (