Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
add extra hub for cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Aug 2, 2024
1 parent 1eb578d commit 9f8979a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/app/[identifier]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -352,13 +352,20 @@ export default function Page({ params }: ResponseProps) {
{hubs.slice(2).map((hub, index) => {
const hubData = data?.hubData?.[index + 2];
const hubAuthor = hubData?.author;
const missingObjects = checkWarning(hubAuthor);
const hubCast = hubData?.cast;
const missingObjectsAuthor = checkWarning(hubAuthor);
const missingObjectsCast: any[] = [];
return (
<div key={index}>
{renderHeader(
`${capitalizeNickname(hub.shortname)}`,
hubAuthor,
missingObjects
missingObjectsAuthor
)}
{renderHeader(
`${capitalizeNickname(hub.shortname)}`,
hubCast,
missingObjectsCast
)}
</div>
);
Expand Down

0 comments on commit 9f8979a

Please sign in to comment.