Skip to content

Commit

Permalink
feat: fix l2l conv
Browse files Browse the repository at this point in the history
  • Loading branch information
Space-Bean committed Sep 24, 2024
1 parent 52c2d2e commit 372aef0
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions projects/ui/src/components/Silo/Actions/LambdaConvert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,26 +260,30 @@ const LambdaConvert = ({
</Row>
</Card>
)}
<Card
sx={{
px: 2,
py: 1.5,
borderColor: combine
? BeanstalkPalette.logoGreen
: BeanstalkPalette.lightestGrey,
background: combine ? BeanstalkPalette.lightestGreen : 'white',
}}
>
<Row justifyContent="space-between">
<Typography color={combine ? 'primary' : 'text.secondary'}>
Combine Deposits of the same asset into one Deposit
</Typography>
<Switch
value={combine}
onChange={() => setCombine((prev) => !prev)}
/>
</Row>
</Card>
{selected.size > 1 && (
<Card
sx={{
px: 2,
py: 1.5,
borderColor: combine
? BeanstalkPalette.logoGreen
: BeanstalkPalette.lightestGrey,
background: combine
? BeanstalkPalette.lightestGreen
: 'white',
}}
>
<Row justifyContent="space-between">
<Typography color={combine ? 'primary' : 'text.secondary'}>
Combine Deposits of the same asset into one Deposit
</Typography>
<Switch
value={combine}
onChange={() => setCombine((prev) => !prev)}
/>
</Row>
</Card>
)}
</Stack>
<Box>
<TxnAccordion defaultExpanded={false}>
Expand Down

0 comments on commit 372aef0

Please sign in to comment.