Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
add it on mobile web
Browse files Browse the repository at this point in the history
  • Loading branch information
alantoa committed Nov 1, 2023
1 parent 10ef17f commit aeac95b
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions packages/app/components/profile/profile.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ import {
CreatorTokenCollected,
CreatorTokenCollectors,
TokensTabHeader,
TokensTabItem,
} from "./tokens-tab";

export type ProfileScreenProps = {
Expand Down Expand Up @@ -302,11 +301,29 @@ const Profile = ({ username }: ProfileScreenProps) => {
/>

{type === "tokens" ? (
<TokensTabHeader
channelId={channelId}
isSelf={isSelf}
messageCount={messageCount}
/>
<>
<TokensTabHeader
channelId={channelId}
isSelf={isSelf}
messageCount={messageCount}
/>
{isProfileMdScreen ? null : (
<View tw="pl-5">
<CreatorTokenCollectors
creatorTokenId={
profileData?.data?.profile.creator_token?.id
}
name={profileData?.data?.profile.name}
username={username}
/>
<CreatorTokenCollected
profileId={profileId}
name={profileData?.data?.profile.name}
username={username}
/>
</View>
)}
</>
) : null}
{type === "song_drops_created" && isSelf ? (
<>
Expand Down

0 comments on commit aeac95b

Please sign in to comment.