Skip to content

Commit

Permalink
display an alert to withdraw using combo
Browse files Browse the repository at this point in the history
  • Loading branch information
alphastorm committed Oct 20, 2023
1 parent b71c27f commit 5b44a67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/WithdrawPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
Alert,
Box,
Button,
Checkbox,
Expand Down Expand Up @@ -154,6 +155,9 @@ const WithdrawPage = (props: Props): ReactElement | null => {
{formStateData.error?.message || ""}
</Typography>
</Box>
<Alert variant="outlined" severity="warning">
Withdraw using the <b>Combo</b> option below.
</Alert>
<RadioGroup
row
value={formStateData.withdrawType}
Expand All @@ -165,7 +169,6 @@ const WithdrawPage = (props: Props): ReactElement | null => {
control={<Radio />}
label="Combo"
data-testid="withdrawPercentageCombo"
checked={true}
/>
{tokensData.map((t) => {
return (
Expand All @@ -176,7 +179,6 @@ const WithdrawPage = (props: Props): ReactElement | null => {
// disabled={poolData?.isPaused}
label={t.symbol}
data-testid="withdrawTokenRadio"
disabled={true}
/>
)
})}
Expand Down

0 comments on commit 5b44a67

Please sign in to comment.