From 7b794d6c46db547ac422f364db20703cd89ab8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4ki?= Date: Thu, 9 Nov 2023 13:48:58 +0200 Subject: [PATCH] @thunderstore/cyberstorm: use unique key props in PackageList Same package name can be in use in different namespaces, which caused React to sometimes render PackageCards from old result sets in addition to the current ones when the filters were used. Refs TS-1875 --- packages/cyberstorm/src/components/PackageList/PackageList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cyberstorm/src/components/PackageList/PackageList.tsx b/packages/cyberstorm/src/components/PackageList/PackageList.tsx index fee9429c8..b3546aa11 100644 --- a/packages/cyberstorm/src/components/PackageList/PackageList.tsx +++ b/packages/cyberstorm/src/components/PackageList/PackageList.tsx @@ -84,7 +84,7 @@ export function PackageList(props: Props) {
{packages.results.map((p) => ( - + ))}