Minor adjustments
This commit is contained in:
parent
c828d47bc0
commit
74f6c1fefa
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue