Default to trending for homepages (#267)

This commit is contained in:
Thomas Zarebczan 2021-11-10 14:36:54 -05:00 committed by GitHub
parent 5639e4c1ff
commit 5c23c6d88e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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