Skip to content

Commit

Permalink
Remove deposit button
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Nov 20, 2023
1 parent 93d3727 commit 64c9447
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/TokenBalance/TokenDeposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import queryClient from '@hooks/queries/queryClient'
import { proposalQueryKeys } from '@hooks/queries/proposal'
import asFindable from '@utils/queries/asFindable'
import VanillaVotingPower from '@components/GovernancePower/Vanilla/VanillaVotingPower'
import { DepositTokensButton } from '@components/DepositTokensButton'

export const TokenDeposit = ({
mint,
Expand Down Expand Up @@ -316,7 +315,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 @@ -326,7 +325,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 64c9447

Please sign in to comment.