Skip to content

Commit

Permalink
feat: conditionally render delegate/redelegate button
Browse files Browse the repository at this point in the history
  • Loading branch information
gleiser-oliveira committed Nov 27, 2023
1 parent 6091d4c commit daf31aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Governance/VotingWallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const VotingWalletUi: React.FC<VotingWalletUiProps> = ({
</ButtonWrapper>
)}

{connectedWallet && userHasLockedXVS && (
{connectedWallet && userHasLockedXVS && voteProposalFeatureEnabled && (
<PrimaryButton
className="text-offWhite sm:w-auto lg:w-full"
onClick={() => setDelegateModelIsOpen(true)}
Expand Down

0 comments on commit daf31aa

Please sign in to comment.