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

Commit

Permalink
update the old design of creator token
Browse files Browse the repository at this point in the history
  • Loading branch information
alantoa committed Nov 3, 2023
1 parent 24e5b1b commit 2c06c22
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/app/components/profile/tokens-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { formatNumber } from "app/utilities";
import SvgUnlocked from "design-system/icon/Unlocked";

import { ChannelPermissions } from "../creator-channels/types";
import { CreatorTokenCard } from "../creator-token/creator-token-users";
import { TopCreatorTokenItem } from "../creator-token/creator-token-users";
import { EmptyPlaceholder } from "../empty-placeholder";
import { FilterContext } from "./fillter-context";
import { MyCollection } from "./my-collection";
Expand Down Expand Up @@ -234,7 +234,7 @@ export const CreatorTokenCollectors = ({
return (
<View {...rest}>
<View tw="flex-row items-center justify-between py-4">
<Text tw="text-13 font-bold text-gray-900 dark:text-gray-50">
<Text tw="text-13 font-semibold text-gray-900 dark:text-gray-50">
{name ? name : `@${username}`} collectors
</Text>
{/* {count > 6 ? (
Expand Down Expand Up @@ -266,11 +266,11 @@ export const CreatorTokenCollectors = ({
<View tw="flex-row flex-wrap items-center gap-x-4 gap-y-2">
{data?.map((item, i) => {
return (
<CreatorTokenCard
<TopCreatorTokenItem
item={item}
index={i}
key={i}
style={{ width: "29%" }}
style={{ width: "48%" }}
showName
/>
);
})}
Expand All @@ -296,7 +296,7 @@ export const CreatorTokenCollected = ({
return (
<View {...rest}>
<View tw="flex-row items-center justify-between py-4">
<Text tw="text-13 font-bold text-gray-900 dark:text-gray-50">
<Text tw="text-13 font-semibold text-gray-900 dark:text-gray-50">
{name ? name : `@${username}`} collected
</Text>
{/* {count > 6 ? (
Expand Down Expand Up @@ -330,11 +330,11 @@ export const CreatorTokenCollected = ({
<View tw="flex-row flex-wrap items-center gap-x-4 gap-y-2">
{data?.map((item, i) => {
return (
<CreatorTokenCard
<TopCreatorTokenItem
item={item}
index={i}
key={i}
style={{ width: "29%" }}
style={{ width: "48%" }}
showName
/>
);
})}
Expand Down

0 comments on commit 2c06c22

Please sign in to comment.