Skip to content

Commit

Permalink
Fix drift-usdc
Browse files Browse the repository at this point in the history
  • Loading branch information
pioug committed Sep 19, 2024
1 parent fb3daf6 commit 1b6f559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drift-usdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const puppeteer = require("puppeteer");
'xpath///img[@src="/assets/icons/markets/usdc.svg"]/ancestor::div[1]/parent::*',
);

const [, tvl, rate] = await page.evaluate((el) => {
const [, , tvl, rate] = await page.evaluate((el) => {
return Array.from(el.children).map((el) => el.textContent.trim());
}, usdcRow);

Expand Down

0 comments on commit 1b6f559

Please sign in to comment.