Skip to content

Commit

Permalink
update docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Oct 19, 2023
1 parent 6269fd8 commit 2894ce5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function CancelStatusCountDown({
</Timer>
<Text fontSize={'10px'} fontWeight={'400'} color={theme.subText}>
<Trans>*There is a possibility that the order might be filled before cancellation.</Trans>{' '}
<ExternalLink href={DOCS_LINKS.USER_GUIDE}>
<ExternalLink href={DOCS_LINKS.CANCEL_GUIDE}>
<Trans>Learn more ↗︎</Trans>
</ExternalLink>
</Text>
Expand Down Expand Up @@ -139,7 +139,7 @@ export default function CancelStatusCountDown({
<Flex sx={{ gap: '4px' }}>
<Trans>Your request has timed out.</Trans>{' '}
<Text fontSize={'10px'} fontWeight={'400'} alignSelf={'flex-end'}>
<ExternalLink href={DOCS_LINKS.USER_GUIDE}>
<ExternalLink href={DOCS_LINKS.CANCEL_GUIDE}>
<Trans>Learn more ↗︎</Trans>
</ExternalLink>
</Text>
Expand Down
3 changes: 2 additions & 1 deletion src/components/swapv2/LimitOrder/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ export const DOCS_LINKS = {
GASLESS_CANCEL:
'https://docs.kyberswap.com/kyberswap-solutions/limit-order/concepts/gasless-cancellation#gasless-cancel',
HARD_CANCEL: 'https://docs.kyberswap.com/kyberswap-solutions/limit-order/concepts/gasless-cancellation#hard-cancel',
USER_GUIDE: 'https://docs.kyberswap.com/kyberswap-solutions/limit-order/user-guides/cancel-limit-orders',
CANCEL_GUIDE: 'https://docs.kyberswap.com/kyberswap-solutions/limit-order/user-guides/cancel-limit-orders',
USER_GUIDE: 'https://docs.kyberswap.com/kyberswap-solutions/limit-order',
}

0 comments on commit 2894ce5

Please sign in to comment.