Minor adjustments

This commit is contained in:
Shawn 2018-10-24 15:47:20 -05:00
parent c828d47bc0
commit 74f6c1fefa
2 changed files with 1 additions and 4 deletions

View file

@ -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;

View file

@ -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({