fix: waiting for script to be ready (#609)
This commit is contained in:
parent
54c6a99c2f
commit
e86e2fee77
@ -13,7 +13,8 @@ interface Props {
|
||||
}
|
||||
|
||||
export default function TradeChart(props: Props) {
|
||||
const [isScriptReady, setIsScriptReady] = useState(true)
|
||||
const [isScriptReady, setIsScriptReady] = useState(false)
|
||||
|
||||
return (
|
||||
<>
|
||||
<Script
|
||||
|
Loading…
Reference in New Issue
Block a user