Skip to content

Commit

Permalink
fix: remove pointless button from limit order confirm (#8282)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodenfurniture authored Dec 5, 2024
1 parent 8436c4d commit a464651
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
CardHeader,
Heading,
HStack,
Link,
Stack,
} from '@chakra-ui/react'
import { SwapperName } from '@shapeshiftoss/swapper'
Expand Down Expand Up @@ -47,9 +46,6 @@ import { LimitOrderRoutePaths } from '../types'

const cardBorderRadius = { base: '2xl' }

// TODO: Populate this!
const learnMoreUrl = ''

export const LimitOrderConfirm = () => {
const history = useHistory()
const translate = useTranslate()
Expand Down Expand Up @@ -193,9 +189,8 @@ export const LimitOrderConfirm = () => {
<Card bg='background.surface.raised.pressed' borderRadius={6} p={4}>
<HStack>
<InfoIcon boxSize='1.3em' color='text.info' />
<RawText>
{translate('limitOrder.confirmInfo')}{' '}
<Button
<RawText>{translate('limitOrder.confirmInfo')}</RawText>
{/* <Button
as={Link}
href={learnMoreUrl}
variant='link'
Expand All @@ -207,8 +202,7 @@ export const LimitOrderConfirm = () => {
verticalAlign='baseline'
>
<Text as='span' translation='limitOrder.learnMore' />
</Button>
</RawText>
</Button> */}
</HStack>
</Card>
<Button
Expand Down

0 comments on commit a464651

Please sign in to comment.