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:
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,
|
||||
|
||||
Reference in new issue
Block a user