From a9e6c88f45f34b2414fc9c0a294b51677a9bcf36 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 4 Jun 2019 13:08:47 +1000 Subject: [PATCH] Disabled spy button for now --- src/components/pages/profile.jsx | 1 + src/components/panels/attack_button.jsx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/pages/profile.jsx b/src/components/pages/profile.jsx index 0913ee2..c3d7151 100644 --- a/src/components/pages/profile.jsx +++ b/src/components/pages/profile.jsx @@ -256,6 +256,7 @@ class Profile extends React.Component { pendingStatus={'spying'} pendingMsg={'Your spies are spying on'} parseUnits={(json) => json.spies} + disabled={true} >Send Spies diff --git a/src/components/panels/attack_button.jsx b/src/components/panels/attack_button.jsx index 1f2fdb6..e3c8c3a 100644 --- a/src/components/panels/attack_button.jsx +++ b/src/components/panels/attack_button.jsx @@ -28,7 +28,7 @@ class AttackButton extends React.Component { }; return ( - + ); } } @@ -86,7 +86,8 @@ AttackButton.propTypes = { className: PropTypes.string, style: PropTypes.object, onClick: PropTypes.func, - setWarning: PropTypes.func + setWarning: PropTypes.func, + disabled: PropTypes.bool }; const mapStoreToProps = (store) => {