Skip to content

Commit

Permalink
Disable FE check on withdraw form (#725)
Browse files Browse the repository at this point in the history
* Disable FE check on withdraw form

* Restrict vault disabled checks for SOL vault
  • Loading branch information
leonkho authored Jan 16, 2024
1 parent dde18c2 commit ff03fb3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,11 @@ const VaultV2WithdrawForm: React.FC<VaultV2WithdrawFormProps> = ({
if (active) {
return (
<ActionButton
disabled={Boolean(error) || !isInputNonZero}
disabled={
vaultOption === "rSOL-THETA"
? !isInputNonZero
: Boolean(error) || !isInputNonZero
}
onClick={() => {
onFormSubmit();
}}
Expand Down Expand Up @@ -389,6 +393,7 @@ const VaultV2WithdrawForm: React.FC<VaultV2WithdrawFormProps> = ({
onFormSubmit,
setShowConnectModal,
vaultActionForm.withdrawOption,
vaultOption,
]);

const formFooter = useMemo(() => {
Expand Down

5 comments on commit ff03fb3

@vercel
Copy link

@vercel vercel bot commented on ff03fb3 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ribbon-governance – ./governance

ribbon-governance-git-master-ribbon-finance.vercel.app
ribbon-governance-ribbon-finance.vercel.app
vote.ribbon.finance

@vercel
Copy link

@vercel vercel bot commented on ff03fb3 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ribbon-lend – ./lend

ribbon-lend-git-master-ribbon-finance.vercel.app
ribbon-lend-ribbon-finance.vercel.app
lend.ribbon.finance

@vercel
Copy link

@vercel vercel bot commented on ff03fb3 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ff03fb3 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ff03fb3 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ribbon-frontend – ./webapp

ribbon-frontend-git-master-ribbon-finance.vercel.app
ribbon-frontend-ribbon-finance.vercel.app
app.ribbon.finance

Please sign in to comment.