From 779dafe1dc04f1b6e9ee37e656f90e82542e58fd Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Wed, 3 Jan 2024 18:57:12 +0100 Subject: [PATCH] Pass correct group sizes to "GroupedVirtuoso" (#537) One item was always hidden from the list. Noticed during searching for a specific extension, which caused the list to only have one item, which was not shown Was incorrectly changed with db65b9df44521cb78e76c64328a308e071b65aac --- src/screens/Extensions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/Extensions.tsx b/src/screens/Extensions.tsx index 7fa84355..9ebab782 100644 --- a/src/screens/Extensions.tsx +++ b/src/screens/Extensions.tsx @@ -135,7 +135,7 @@ export function Extensions() { ); const groupCounts = useMemo( - () => filteredGroupedExtensions.map((extensionGroup) => extensionGroup[EXTENSIONS].length - 1), + () => filteredGroupedExtensions.map((extensionGroup) => extensionGroup[EXTENSIONS].length), [filteredGroupedExtensions], ); const visibleExtensions = useMemo(