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 ddbd1b7
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 @@ -127,6 +128,9 @@ const WithdrawPage = (props: Props): ReactElement | null => {
<Typography variant="h1" marginBottom={3}>
{t("withdraw")}
</Typography>
<Alert severity="warning">
You must withdraw by selecting the &quot;Combo&quot; option.
</Alert>
<Box display="flex">
<Box>
<Typography variant="body1" noWrap mr={1}>{`${t(
Expand Down Expand Up @@ -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 ddbd1b7

Please sign in to comment.