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

Commit

Permalink
remove claim tank (#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
alantoa authored Aug 21, 2023
1 parent eada900 commit 66eca84
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions packages/app/components/profile/profile-top.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -422,30 +422,6 @@ export const ProfileTop = ({
/>
</View>
) : null}
{isSelf && user?.data?.claim_tank?.available_claims !== undefined ? (
<Pressable
onPress={onPressClaimLimit}
tw="mt-3 flex-row items-center"
>
<GiftIcon
height={18}
width={18}
color={isDark ? colors.gray[400] : colors.gray[600]}
/>
<Text tw="ml-0.5 mr-0.5 text-sm text-gray-600 dark:text-gray-400">
{user?.data.claim_tank.available_claims
? `You have ${user?.data.claim_tank.available_claims}/${user?.data.claim_tank.tank_limit} claims available`
: `Your next claim will be available ${getFormatDistanceToNowStrict(
user?.data.claim_tank.next_refill_at
)}`}
</Text>
<InformationCircleIcon
height={18}
width={18}
color={isDark ? colors.gray[400] : colors.gray[600]}
/>
</Pressable>
) : null}
<Hidden from="md">
<ProfileFollows
profileId={profileId}
Expand Down

0 comments on commit 66eca84

Please sign in to comment.