fix: Popular Apps Slider (#9189)

* Fixes Popular Apps Slider

* Update PopularAppsSlider.tsx

* Reverts env cache

* Revert

---------

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-05-30 18:36:48 +00:00
1 parent 2e379653a4
commit 787edd28c7
3 files changed
+31 -1

No files matched your search

@@ -10,7 +10,7 @@ export const PopularAppsSlider = <T extends App>({ items }: { items: T[] }) => {
return (
<Slider<T>
title={t("most_popular")}
items={items.filter((app) => !!app.trending)}
items={items.sort((a, b) => (b.installCount || 0) - (a.installCount || 0))}
itemKey={(app) => app.name}
options={{
perView: 3,