From 8da785420e675e75f451abde7bc86e1102edd187 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Fri, 20 Nov 2015 16:06:00 +0100 Subject: [PATCH] added extra check for error --- webapp/app.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/app.jsx b/webapp/app.jsx index c848f0f..71770f5 100644 --- a/webapp/app.jsx +++ b/webapp/app.jsx @@ -297,6 +297,7 @@ var Users = React.createClass({ }, componentDidMount: function(){ boards.searchUsers().on('user',(id) => { + if(id === undefined) console.log('found undefined user???') if(this.isMounted() && this.state.users.indexOf(id) < 0) this.setState({ users: this.state.users.concat(id) }) })