From e69e5b36e54997bc947d6714882d92fa582cb3d3 Mon Sep 17 00:00:00 2001 From: ntr Date: Wed, 15 Jan 2020 08:43:17 +1000 Subject: [PATCH] disabled skill btns on finished --- client/src/components/game.construct.skill.btn.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/game.construct.skill.btn.jsx b/client/src/components/game.construct.skill.btn.jsx index cedf7c33..553bdcc1 100644 --- a/client/src/components/game.construct.skill.btn.jsx +++ b/client/src/components/game.construct.skill.btn.jsx @@ -82,9 +82,11 @@ function Skill(props) { const border = buttons[removeTier(s.skill)] ? buttons[removeTier(s.skill)]() : ''; + const finished = game.phase === 'Finished'; + return (