From a19e562b3ca8bc7a2c18002dc535b798916bc82c Mon Sep 17 00:00:00 2001
From: Jules Laplace <jules@okfoc.us>
Date: Mon, 20 Mar 2017 05:07:10 +0100
Subject: block managers from editing user meals

---
 client/components/App.jsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'client/components/App.jsx')

diff --git a/client/components/App.jsx b/client/components/App.jsx
index eafd309..1a7e854 100644
--- a/client/components/App.jsx
+++ b/client/components/App.jsx
@@ -23,7 +23,9 @@ export default class App extends React.Component {
       })
       .catch(error => {
         this.setState({ ready: true })
-        console.error(error)
+        if (! error.message.match(/stored JWT/)) {
+          console.error(error)
+        }
       })
   }
   didAuthenticate(user) {
-- 
cgit v1.2.3-70-g09d2

