From 2a2023179659180ea17a0ff84fe11484f36a5dd9 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Fri, 23 Feb 2024 09:53:46 -0500 Subject: [PATCH] fix: renterd missing key --- .../Columns/FilesHealthColumn/FilesHealthColumnContents.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx b/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx index 8bd1e6bf9..4c046d63f 100644 --- a/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx +++ b/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx @@ -57,6 +57,7 @@ export function FilesHealthColumnContents({ const slabs = sortBy( obj.data.object.slabs.map((s) => ({ ...s.slab, + key: `${s.offset}${s.length}${s.slab.key}`, isPartialSlab: !!s.slab.shards, contractSetShards: s.slab.shards?.length ? computeSlabContractSetShards({