Skip to content

Commit

Permalink
potter
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolianeth committed Jan 21, 2025
1 parent e976aec commit 82dccf4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1424,6 +1424,9 @@ msgstr ""
msgid "Recipient"
msgstr ""

msgid "Tokens are burned when they are cashed out."
msgstr ""

msgid "The amount of ETH in this project’s treasury."
msgstr ""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export function V4BurnOrRedeemModal({
{canRedeem ? (
<div className="flex flex-col gap-4">
<Callout.Info>
<Trans>Tokens are burned when they are redeemed.</Trans>
<Trans>Tokens are burned when they are cashed out.</Trans>
</Callout.Info>
<div>
<Trans>
Expand Down Expand Up @@ -297,7 +297,7 @@ export function V4BurnOrRedeemModal({
/>
</Descriptions.Item>
<Descriptions.Item label={<Trans>Total redemption value</Trans>}>
<ETHAmount amount={BigNumber.from(maxClaimable)} />
{formatEther(maxClaimable)} ETH
</Descriptions.Item>
</Descriptions>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { SettingOutlined } from '@ant-design/icons'
import { Button, Tooltip } from 'antd'
import { AddTokenToMetamaskButton } from 'components/buttons/AddTokenToMetamaskButton'
import { ISSUE_ERC20_EXPLANATION } from 'components/strings'
import { useJBChainId, useJBContractContext } from 'juice-sdk-react'
import { useJBChainId, useJBContractContext, useSuckersUserTokenBalance } from 'juice-sdk-react'
import { V4TokenHoldersModal } from 'packages/v4/components/modals/V4TokenHoldersModal/V4TokenHoldersModal'
import { useProjectHasErc20Token } from 'packages/v4/hooks/useProjectHasErc20Token'
import { v4ProjectRoute } from 'packages/v4/utils/routes'
Expand All @@ -29,7 +29,6 @@ import { V4TokenRedemptionCallout } from './V4TokenRedemptionCallout'

export const V4TokensPanel = () => {
const {
userTokenBalance,
userTokenBalanceLoading,
// userLegacyTokenBalance,
// projectHasLegacyTokens,
Expand All @@ -38,6 +37,7 @@ export const V4TokensPanel = () => {
totalSupply,
} = useV4TokensPanel()
const projectHasErc20Token = useProjectHasErc20Token()
const balances = useSuckersUserTokenBalance()

const { canMintTokens } = useV4BalanceMenuItemsUserFlags()

Expand Down

0 comments on commit 82dccf4

Please sign in to comment.