From ff4b94f02b038bf754ba3fcb00b7dd2a421a2d71 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Tue, 7 Jul 2015 13:18:10 -0700 Subject: Small changes and code clean-up --- api/user.go | 2 -- web/react/components/more_channels.jsx | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/user.go b/api/user.go index 6528c0f61..ada781bc7 100644 --- a/api/user.go +++ b/api/user.go @@ -135,8 +135,6 @@ func createUser(c *Context, w http.ResponseWriter, r *http.Request) { user.EmailVerified = true } - user.EmailVerified = true; - ruser := CreateUser(c, team, user) if c.Err != nil { return diff --git a/web/react/components/more_channels.jsx b/web/react/components/more_channels.jsx index 3cb83cec5..dad0a644a 100644 --- a/web/react/components/more_channels.jsx +++ b/web/react/components/more_channels.jsx @@ -83,7 +83,7 @@ module.exports = React.createClass({ (moreChannels.length ? - {this.state.channels.map(function(channel) { + {moreChannels.map(function(channel) { return (
@@ -108,7 +108,7 @@ module.exports = React.createClass({
} - { server_error } + { server_error }
-- cgit v1.2.3-1-g7c22