diff --git a/packages/app/components/creator-token/creator-token-users.tsx b/packages/app/components/creator-token/creator-token-users.tsx index f57349017..f5035a03f 100644 --- a/packages/app/components/creator-token/creator-token-users.tsx +++ b/packages/app/components/creator-token/creator-token-users.tsx @@ -141,10 +141,12 @@ export const TopCreatorTokenItem = ({ index, tw, item, + showBuyButton, ...rest }: ViewProps & { index?: number; item: TopCreatorTokenUser; + showBuyButton?: boolean; }) => { const router = useRouter(); const isDark = useIsDarkMode(); @@ -216,6 +218,18 @@ export const TopCreatorTokenItem = ({ /> + {showBuyButton ? ( + Buy} + username={token.owner_profile?.username} + /> + ) : null} diff --git a/packages/app/components/creator-token/top-creator-token.tsx b/packages/app/components/creator-token/top-creator-token.tsx index 3261420d1..ba1b66153 100644 --- a/packages/app/components/creator-token/top-creator-token.tsx +++ b/packages/app/components/creator-token/top-creator-token.tsx @@ -67,7 +67,7 @@ export const TopCreatorTokens = ({ item, index, }: ListRenderItemInfo) => { - return ; + return ; }, [] );