From d03ee455ba1bd034dca1839a514ca0c2a9fd9c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Tue, 29 Nov 2022 18:15:47 +0100 Subject: [PATCH] fix --- components/trade/TradingViewChart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/trade/TradingViewChart.tsx b/components/trade/TradingViewChart.tsx index 54a66bbd..77abbc60 100644 --- a/components/trade/TradingViewChart.tsx +++ b/components/trade/TradingViewChart.tsx @@ -199,11 +199,11 @@ const TradingViewChart = () => { setTimeout(async () => { if (kLineChart) { const newData = (await generatedKLineDataList(1))[0] - newData.timestamp += 10000 * 60 + newData.timestamp += 30000 * 60 kLineChart.updateData(newData) } updateData(kLineChart) - }, 10000) + }, 30000) } useEffect(() => {