diff --git a/src/components/Trade/TradeChart/index.tsx b/src/components/Trade/TradeChart/index.tsx index edb3c10d..4f3c9798 100644 --- a/src/components/Trade/TradeChart/index.tsx +++ b/src/components/Trade/TradeChart/index.tsx @@ -2,8 +2,8 @@ import dynamic from 'next/dynamic' import Script from 'next/script' import { useState } from 'react' -import { CircularProgress } from 'components/CircularProgress' import Card from 'components/Card' +import { CircularProgress } from 'components/CircularProgress' const TVChartContainer = dynamic( () => import('components/Trade/TradeChart/TVChartContainer').then((mod) => mod.TVChartContainer), @@ -26,6 +26,9 @@ export default function TradeChart(props: Props) { onReady={() => { setIsScriptReady(true) }} + onLoad={() => { + setIsScriptReady(true) + }} /> {isScriptReady ? (