Skip to content

Commit

Permalink
Merge pull request #571 from us3r-network/F-swap-bufan
Browse files Browse the repository at this point in the history
change swap button condition
  • Loading branch information
qbig authored Feb 23, 2024
2 parents 9269a5b + b97e196 commit 8dbb55e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/u3/src/components/social/farcaster/FCast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import FCastSuperLike from './FCastSuperLike';
import { useLinkId } from '@/hooks/shared/useLinkId';
import FCastTrade from './FCastTrade';

const DEGEN_FID = 5557;
export default function FCast({
cast,
farcasterUserData,
Expand Down Expand Up @@ -327,7 +326,7 @@ export default function FCast({
}}
/>
)}
{cast?.mentions?.includes(DEGEN_FID) && <FCastTrade />}
{cast?.text?.toLowerCase().includes('degen') && <FCastTrade />}
<PostCardFooterWrapper>
<PostCardPlatformInfo platform={SocialPlatform.Farcaster} />
<PostCardActionsWrapper
Expand Down

0 comments on commit 8dbb55e

Please sign in to comment.