From 2440b8c313d75aeaafeb015540a4814e4d1bed5e Mon Sep 17 00:00:00 2001 From: serafettin Date: Tue, 16 Jul 2024 14:31:11 -0400 Subject: [PATCH] Iterate --- .../src/components/site/index-details/IndexItemList/index.tsx | 3 ++- web-app/src/types/entity.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web-app/src/components/site/index-details/IndexItemList/index.tsx b/web-app/src/components/site/index-details/IndexItemList/index.tsx index 74836e25..b3328d72 100644 --- a/web-app/src/components/site/index-details/IndexItemList/index.tsx +++ b/web-app/src/components/site/index-details/IndexItemList/index.tsx @@ -10,6 +10,7 @@ import { IndexTeamNodeItem, IndexWebPageItem, ArticleIndexNodeItem, + AttestationIndexNodeItem, } from "types/entity"; import NoLinks from "../../indexes/NoLinks"; @@ -92,7 +93,7 @@ const IndexItemList: FC = ({ removeItem(item)} search={!!search} - item={item as IndexIndexNodeItem} + item={item as AttestationIndexNodeItem} /> ); } diff --git a/web-app/src/types/entity.ts b/web-app/src/types/entity.ts index 840d7c39..d0217d56 100644 --- a/web-app/src/types/entity.ts +++ b/web-app/src/types/entity.ts @@ -82,7 +82,7 @@ export type ArticleIndexNode = { }; export type AttestationIndexNode = { id: string; - attestationId: string; + attestationID: string; attestedDate: string; subject: string; schema: {