From d3506c9d69e25f67109ffaae4ebc32e79a61244d Mon Sep 17 00:00:00 2001
From: Saturnino Abril <saturnino.abril@gmail.com>
Date: Thu, 13 Jul 2017 01:35:49 +0900
Subject: fix JS error on SpinnerButton and refactor edit incoming/outgoing
 webhook (#6917)

---
 webapp/components/spinner_button.jsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'webapp/components/spinner_button.jsx')

diff --git a/webapp/components/spinner_button.jsx b/webapp/components/spinner_button.jsx
index 78079b2b4..b3b291ff8 100644
--- a/webapp/components/spinner_button.jsx
+++ b/webapp/components/spinner_button.jsx
@@ -16,6 +16,12 @@ export default class SpinnerButton extends React.Component {
         };
     }
 
+    static get defaultProps() {
+        return {
+            spinning: false
+        };
+    }
+
     render() {
         const {spinning, children, ...props} = this.props; // eslint-disable-line no-use-before-define
 
-- 
cgit v1.2.3-1-g7c22

