Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfirefist committed Nov 30, 2023
1 parent d19784b commit 34ededf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/TokenBalance/TokenDeposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import { proposalQueryKeys } from '@hooks/queries/proposal'
import asFindable from '@utils/queries/asFindable'
import VanillaVotingPower from '@components/GovernancePower/Vanilla/VanillaVotingPower'
import { fetchTokenAccountByPubkey } from '@hooks/queries/tokenAccount'
import { DepositTokensButton } from '@components/DepositTokensButton'

export const TokenDeposit = ({
mint,
Expand Down Expand Up @@ -327,7 +328,7 @@ export const TokenDeposit = ({
</div>

<div className="flex flex-col mt-6 space-y-4 sm:flex-row sm:space-x-4 sm:space-y-0">
{/* {hasTokensInWallet || inAccountDetails ? (
{hasTokensInWallet || inAccountDetails ? (
<DepositTokensButton
className="sm:w-1/2 max-w-[200px]"
role={
Expand All @@ -337,7 +338,7 @@ export const TokenDeposit = ({
}
as={inAccountDetails ? 'primary' : 'secondary'}
/>
) : null} */}
) : null}
{!isMembership && // Membership tokens can't be withdrawn (that is their whole point, actually)
(inAccountDetails || isVsr) && (
<SecondaryButton
Expand Down

0 comments on commit 34ededf

Please sign in to comment.