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

Commit

Permalink
fix username to work
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Jul 8, 2024
1 parent e968ecf commit 6c7ac97
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 @@ -164,8 +164,7 @@ export default function Page({ params }: ResponseProps) {
warpcastAuthor?.author?.fid;

const username =
neynar?.cast?.cast?.author?.username ?? warpcast?.cast?.author?.username;
warpcast?.author?.username ?? neynar?.author?.username ?? null;
warpcast?.author?.username ?? neynar?.author?.author?.username ?? null;
const castHash = neynar?.cast?.cast?.hash ?? warpcast?.cast?.hash ?? null;

const renderHeader = (
Expand Down

0 comments on commit 6c7ac97

Please sign in to comment.