From 79541608f822802a1674da24ba280e89eb0f4206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Fri, 3 Nov 2023 10:40:04 +0100 Subject: [PATCH] fix jup price api --- components/governance/ListToken/ListToken.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/governance/ListToken/ListToken.tsx b/components/governance/ListToken/ListToken.tsx index 0c9f307b..e203ef12 100644 --- a/components/governance/ListToken/ListToken.tsx +++ b/components/governance/ListToken/ListToken.tsx @@ -370,7 +370,7 @@ const ListToken = ({ goBack }: { goBack: () => void }) => { } const tokenInfo = jupiterTokens.find((x) => x.address === mint) const priceInfo = await ( - await fetch(`${JUPITER_PRICE_API_MAINNET}/price?ids=${mint}`) + await fetch(`${JUPITER_PRICE_API_MAINNET}price?ids=${mint}`) ).json() setBaseTokenPrice(priceInfo.data[mint]?.price || 0) setCurrentTokenInfo(tokenInfo)