Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
jarbacoa committed Apr 13, 2022
1 parent 0b8a60a commit 39d4605
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/Fuse/FusePoolPage/FusePoolPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const FusePoolPage = memo(() => {
<Alert colorScheme={"red"} borderRadius={5} mt="5">
<HStack>
<WarningTwoIcon color="red" mr={2} />
<Text color="black">Funds deposited in this pool are at risk. Do not use this pool</Text>
<Text color="black">Funds deposited in this pool are at risk and may be unrecoverable.</Text>
</HStack>
</Alert>
)}
Expand Down
16 changes: 9 additions & 7 deletions src/components/pages/Fuse/FusePoolsPage/PoolRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { smallUsdFormatter } from "utils/bigUtils";
import { CTokenIcon } from "../../../shared/Icons/CTokenIcon";
import { usePoolIncentives } from "hooks/rewards/usePoolIncentives";
import { WhitelistedIcon } from "components/shared/Icons/WhitelistedIcon";
import { isWarnedComptroller } from "constants/fuse";

export const PoolRow = ({
tokens,
Expand Down Expand Up @@ -89,7 +90,8 @@ export const PoolRow = ({
? name.substring(0, 20) + "..."
: name}
</Text>
{rewardTokens.length > 0 ? (
{rewardTokens.length > 0 &&
!isWarnedComptroller(comptroller) ? (
<>
<Text mx={2} fontWeight={"bold"}>
·
Expand All @@ -113,12 +115,12 @@ export const PoolRow = ({
<Center height="100%" width="13%">
<b>{poolNumber}</b>
</Center>
<Center height="100%" width="16%">
<b>{smallUsdFormatter(tvl)}</b>
</Center>
<Center height="100%" width="16%">
<b>{smallUsdFormatter(borrowed)}</b>
</Center>
<Center height="100%" width="16%">
<b>{smallUsdFormatter(tvl)}</b>
</Center>
<Center height="100%" width="16%">
<b>{smallUsdFormatter(borrowed)}</b>
</Center>
</>
)}
</Row>
Expand Down
2 changes: 1 addition & 1 deletion src/constants/urls.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const URLS = {
TOKEN_DATA_ENDPOINT: ""
TOKEN_DATA_ENDPOINT: "https://app.rari.capital"
}

1 comment on commit 39d4605

@vercel
Copy link

@vercel vercel bot commented on 39d4605 Apr 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.