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: {