Skip to content

Commit

Permalink
fix: tag name and eth market name
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Feb 18, 2025
1 parent aa8065c commit 4cb6823
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/main/src/lend/components/PageLoanManage/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ const Page: NextPage = () => {
const navigate = useNavigate()
const { pageLoaded, api, routerParams } = usePageOnMount(params, location, navigate)
const titleMapper = useTitleMapper()
const { rChainId, rOwm, rFormType, rSubdirectory } = routerParams
const market = useOneWayMarket(rChainId, rOwm).data
const { rChainId, rMarket, rFormType, rSubdirectory } = routerParams
const market = useOneWayMarket(rChainId, rMarket).data
const rOwmId = market?.id ?? ''
const userActiveKey = helpers.getUserActiveKey(api, market!)
const isLoadingApi = useStore((state) => state.isLoadingApi)
Expand Down
2 changes: 1 addition & 1 deletion apps/main/src/loan/entities/llama-markets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const convertMintMarket = (
chain,
},
collateral: {
symbol: collateralToken.symbol,
symbol: collateralToken.symbol == 'WETH' ? 'ETH' : collateralToken.symbol,
address: collateralToken.address,
usdPrice: collateralAmountUsd / collateralAmount,
chain,
Expand Down

0 comments on commit 4cb6823

Please sign in to comment.