diff --git a/src/components/Trade/TradeChart/TVChartContainer.tsx b/src/components/Trade/TradeChart/TVChartContainer.tsx index f6520ce3..317a4691 100644 --- a/src/components/Trade/TradeChart/TVChartContainer.tsx +++ b/src/components/Trade/TradeChart/TVChartContainer.tsx @@ -106,7 +106,7 @@ export const TVChartContainer = (props: Props) => { return ( -
+
) } diff --git a/src/components/Trade/TradeChart/index.tsx b/src/components/Trade/TradeChart/index.tsx index 2c17a507..edb3c10d 100644 --- a/src/components/Trade/TradeChart/index.tsx +++ b/src/components/Trade/TradeChart/index.tsx @@ -2,6 +2,9 @@ import dynamic from 'next/dynamic' import Script from 'next/script' import { useState } from 'react' +import { CircularProgress } from 'components/CircularProgress' +import Card from 'components/Card' + const TVChartContainer = dynamic( () => import('components/Trade/TradeChart/TVChartContainer').then((mod) => mod.TVChartContainer), { ssr: false }, @@ -24,7 +27,15 @@ export default function TradeChart(props: Props) { setIsScriptReady(true) }} /> - {isScriptReady && } + {isScriptReady ? ( + + ) : ( + +
+ +
+
+ )} ) } diff --git a/tailwind.config.js b/tailwind.config.js index 9681de18..533256ed 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -85,6 +85,7 @@ module.exports = { axlusdc: '#478edc', body: '#0D0012', 'body-dark': '#141621', + chart: '#220e1d', error: '#F04438', 'error-bg': '#FDA29B', green: '#039855',