diff --git a/packages/app/components/creator-token/top-creator-token.tsx b/packages/app/components/creator-token/top-creator-token.tsx index 99933c6f9..19b63d353 100644 --- a/packages/app/components/creator-token/top-creator-token.tsx +++ b/packages/app/components/creator-token/top-creator-token.tsx @@ -20,36 +20,12 @@ import { CreatorTokenUser, useCreatorTokenCollectors, } from "app/hooks/creator-token/use-creator-tokens"; -import { useHeaderHeight } from "app/lib/react-navigation/elements"; - -import { breakpoints } from "design-system/theme"; import { TopCreatorTokenItem, TopCreatorTokenSkeleton, } from "./creator-token-users"; -const Header = () => { - const headerHeight = useHeaderHeight(); - return ( - <> - - - - Top Creator Tokens - - - - ); -}; - const keyExtractor = (item: CreatorTokenUser) => `${item.profile_id}`; export const TopCreatorTokens = () => { const { height: screenHeight } = useWindowDimensions(); @@ -87,34 +63,29 @@ export const TopCreatorTokens = () => { }, [isLoading]); return ( - - - - - - - + + + ); }; diff --git a/packages/app/components/profile/profile.web.tsx b/packages/app/components/profile/profile.web.tsx index 1e4853912..5eaab131b 100644 --- a/packages/app/components/profile/profile.web.tsx +++ b/packages/app/components/profile/profile.web.tsx @@ -27,6 +27,12 @@ import { Text } from "@showtime-xyz/universal.text"; import { View } from "@showtime-xyz/universal.view"; import { Card } from "app/components/card"; +import { EmptyPlaceholder } from "app/components/empty-placeholder"; +import { ButtonGoldLinearGradient } from "app/components/gold-gradient"; +import { HeaderLeft } from "app/components/header"; +import { HeaderRightSm } from "app/components/header/header-right.sm"; +import { CreatorTokensBanner } from "app/components/home/header"; +import { TopPartCreatorTokens } from "app/components/home/top-part-creator-tokens"; import { DESKTOP_PROFILE_WIDTH } from "app/constants/layout"; import { ProfileTabsNFTProvider } from "app/context/profile-tabs-nft-context"; import { @@ -54,12 +60,6 @@ import { import { Spinner } from "design-system/spinner"; -import { MessageItem } from "../creator-channels/components/message-item"; -import { EmptyPlaceholder } from "../empty-placeholder"; -import { ButtonGoldLinearGradient } from "../gold-gradient"; -import { HeaderLeft } from "../header"; -import { HeaderRightSm } from "../header/header-right.sm"; -import { CreatorTokensBanner } from "../home/header"; import { CreatorTokensPanel } from "./creator-tokens-panel"; import { MyCollection } from "./my-collection"; import { ProfileError } from "./profile-error"; @@ -367,6 +367,7 @@ const Profile = ({ username }: ProfileScreenProps) => { {isSelf && } + ) : null}