Default to trending for homepages (#267)
This commit is contained in:
parent
5639e4c1ff
commit
5c23c6d88e
1 changed files with 4 additions and 1 deletions
|
@ -72,8 +72,11 @@ export const getHomepageRowForCat = (cat: HomepageCat) => {
|
||||||
case 'top':
|
case 'top':
|
||||||
orderValue = CS.ORDER_BY_TOP_VALUE;
|
orderValue = CS.ORDER_BY_TOP_VALUE;
|
||||||
break;
|
break;
|
||||||
default:
|
case 'new':
|
||||||
orderValue = CS.ORDER_BY_NEW_VALUE;
|
orderValue = CS.ORDER_BY_NEW_VALUE;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
orderValue = CS.ORDER_BY_TRENDING_VALUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
let urlParams = new URLSearchParams();
|
let urlParams = new URLSearchParams();
|
||||||
|
|
Loading…
Reference in a new issue