From 33973f8028ecf2a6332623e8482d2facd739622f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rn=20Andre=20Tangen=20=40gorillatron?= Date: Mon, 26 Feb 2024 11:09:22 +0100 Subject: [PATCH] map identities correctly to jurors --- components/court/JurorsTable.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/court/JurorsTable.tsx b/components/court/JurorsTable.tsx index 4d5a18bf8..c85a85195 100644 --- a/components/court/JurorsTable.tsx +++ b/components/court/JurorsTable.tsx @@ -46,9 +46,7 @@ const columns: TableColumn[] = [ const JurorsTable = () => { const { data: participants } = useCourtParticipants(); const jurors = participants?.filter((p) => p.type === "Juror"); - const { data: identities } = useIdentities( - participants?.map((j) => j.address), - ); + const { data: identities } = useIdentities(jurors?.map((j) => j.address)); const tableData: TableData[] | undefined = jurors ?.filter((p) => p.type === "Juror")