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

Commit

Permalink
fix author initalization
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Jun 28, 2024
1 parent d69518b commit 8877c4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/[identifier]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ export default function Page({ params }: ResponseProps) {
<div className="flex md:flex-row flex-col items-center my-5">
{hubs.slice(2).map((hub, index) => {
const hubData = data?.hubData?.[index + 2];
const authorData = hubData?.author?.fid || null;
const missingObjects = checkWarning(authorData);
const missingObjects = checkWarning(hubData?.author);
return (
<div key={index}>
{renderHeader(
Expand Down

0 comments on commit 8877c4a

Please sign in to comment.