From 74f6c1fefad809f9b8aef2196cf6bcecb4fb5443 Mon Sep 17 00:00:00 2001 From: Shawn Date: Wed, 24 Oct 2018 15:47:20 -0500 Subject: [PATCH] Minor adjustments --- client/src/pages/ShowChannel/view.jsx | 3 --- server/controllers/api/special/claims/index.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client/src/pages/ShowChannel/view.jsx b/client/src/pages/ShowChannel/view.jsx index 9e54dabc..34a23b3a 100644 --- a/client/src/pages/ShowChannel/view.jsx +++ b/client/src/pages/ShowChannel/view.jsx @@ -7,9 +7,6 @@ import Row from '@components/Row'; class ShowChannel extends React.Component { render () { - console.log({ - props: this.props - }) const { channel, homeChannel } = this.props; if (channel) { const { name, longId, shortId } = channel; diff --git a/server/controllers/api/special/claims/index.js b/server/controllers/api/special/claims/index.js index ae8d4a87..4feec2da 100644 --- a/server/controllers/api/special/claims/index.js +++ b/server/controllers/api/special/claims/index.js @@ -14,7 +14,7 @@ const channelClaims = async ({ ip, originalUrl, body, params }, res) => { page, } = params; - if(name == 'trending') { + if(name === 'trending') { const result = await db.Trending.getTrendingClaims(); const claims = await Promise.all(result.map((claim) => getClaimData(claim))); return res.status(200).json({