Skip to content

Commit

Permalink
buys and sell on exchange (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
asaadam authored Jul 12, 2023
2 parents 61a68ae + 4d78b6a commit 80644d3
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion src/components/_modals/DepositModal/SommelierTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import { CellarNameKey } from "data/types"
import { useStrategyData } from "data/hooks/useStrategyData"
import { useUserStrategyData } from "data/hooks/useUserStrategyData"
import { useDepositModalStore } from "data/hooks/useDepositModalStore"
import { FaExternalLinkAlt } from "react-icons/fa"

interface DepositModalProps
extends Pick<ModalProps, "isOpen" | "onClose"> {
Expand Down Expand Up @@ -632,9 +633,47 @@ export const SommelierTab: VFC<DepositModalProps> = ({
>
https://wrapeth.com/
</Link>
<br />
<br />
<Link
href={
"https://app.rhino.fi/invest/YIELDETH/supply"
}
isExternal
role="group"
textAlign="center"
>
<Text as="span">Buy and sell on exchange </Text>
<Icon
as={FaExternalLinkAlt}
color="purple.base"
/>
</Link>
</>
) : (
" There could be high slippage when depositing non base assets. Please swap outside our app for better rates."
<>
<Text>
There could be high slippage when depositing non
base assets. Please swap outside our app for
better rates.
</Text>
<br />
<br />
<Link
href={
"https://app.rhino.fi/invest/YIELDUSD/supply"
}
isExternal
role="group"
textAlign="center"
>
<Text as="span">Buy and sell on exchange </Text>
<Icon
as={FaExternalLinkAlt}
color="purple.base"
/>
</Link>
</>
)}
</Text>
)}
Expand Down

0 comments on commit 80644d3

Please sign in to comment.