From 685ab939e2e818045fb0b82c4ee6e2407840deb8 Mon Sep 17 00:00:00 2001 From: VDawg Date: Wed, 15 Nov 2023 20:48:03 +0100 Subject: [PATCH] communityslice: sort by size --- src/routes/CommunitySlice.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/CommunitySlice.svelte b/src/routes/CommunitySlice.svelte index 8f99a07..d174693 100755 --- a/src/routes/CommunitySlice.svelte +++ b/src/routes/CommunitySlice.svelte @@ -184,7 +184,7 @@ size: 80, class: 'outline-amber-500 bg-black ' } - ] + ].sort(({ size: a }, { size: b }) => b - a) setContext(contextId, { biggestSize: profiles.reduce(