Skip to content

Commit

Permalink
Address reviewer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhpn committed Dec 12, 2024
1 parent f3c875e commit 48f54a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/devnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
}
],
"spot_pool_config": {
"show_apr_tooltip": true
"show_apr_tooltip": false
}
}
2 changes: 1 addition & 1 deletion configs/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"domain": "https://test-dagger.dem.exchange"
},
"spot_pool_config": {
"show_apr_tooltip": true
"show_apr_tooltip": false
}
}
4 changes: 2 additions & 2 deletions scripts/check_configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interface ConfigJSON {
wswth_contract?: string;
market_banners?: MarketBanner[];
market_promo?: {[marketId: string]: MarketPromo};
spot_pool_config: SpotPoolConfig;
spot_pool_config?: SpotPoolConfig;
}

interface InvalidEntry {
Expand Down Expand Up @@ -337,7 +337,7 @@ function isValidMarketPromo(marketPromo: {[marketId: string]: MarketPromo}, netw
outcomeMap[network] = false;
}

for (const promoId in marketPromoIds) {
for (const promoId of marketPromoIds) {
const promoInfo = marketPromo[promoId];
const startTimeStr = promoInfo.start;
const endTimeStr = promoInfo.end;
Expand Down

0 comments on commit 48f54a6

Please sign in to comment.