We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041b4c9 commit 5ebf7b8Copy full SHA for 5ebf7b8
src/app/leverage/components/trading-view-chart.tsx
@@ -29,9 +29,8 @@ export function TradingViewChart() {
29
setIsScriptReady(true)
30
}}
31
/>
32
- {isScriptReady && isConnected ? (
33
- <TradingViewChartContainer />
34
- ) : (
+ {isScriptReady && <TradingViewChartContainer />}
+ {!isConnected && (
35
<div className='bg-ic-black/95 absolute inset-0 z-20 flex items-center justify-center'>
36
<Button
37
className='bg-ic-blue-500 dark:bg-ic-blue-300 dark:hover:bg-ic-blue-200 hover:bg-ic-blue-500/90 text-ic-gray-50 dark:text-ic-black block rounded-md px-8 py-1 text-sm font-medium shadow-sm transition-all duration-300 hover:scale-[1.04]'
0 commit comments