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

Commit

Permalink
don't show profile if warpcast url
Browse files Browse the repository at this point in the history
  • Loading branch information
kevoconnell committed Jun 26, 2024
1 parent 7282a72 commit 98a1da2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/[identifier]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,10 @@ export default function Page({ params }: ResponseProps) {
)}
</div>
<div className="my-4 hidden md:block">
{hash ? (
{hash &&
(!isValidWarpcastUrl(hash) || hash.split('/').length >= 5) ? (
<NeynarCastCard
hash={hash}
hash={hash || identifier}
identifier={isValidWarpcastUrl(identifier) ? 'url' : 'hash'}
viewerFid={3}
/>
Expand Down

0 comments on commit 98a1da2

Please sign in to comment.