diff --git a/src/charts/datafeed.js b/src/charts/datafeed.js index 55ea641..4e797dc 100644 --- a/src/charts/datafeed.js +++ b/src/charts/datafeed.js @@ -211,7 +211,7 @@ export const DataFeed = { co.selectedSymbol = symbolItem const pool = symbolItem.pools[Math.trunc(symbolItem.pools.length/2)]; // noinspection JSValidateTypes - co.selectedPool = [pool] + co.selectedPool = pool updateFeeDropdown() // Symbol information object const symbolInfo = { @@ -269,6 +269,7 @@ export const DataFeed = { const chainId = useStore().chainId; const poolAddr = useChartOrderStore().selectedPool[0]; const period = tvResolutionToPeriodString(resolution); + console.log('poolAddr', poolAddr) subscriptions[subscriberUID] = [chainId, poolAddr, period] subOHLC(chainId, poolAddr, period) return; // disable