2023-01-04 08:47:19 +03:30
|
|
|
import React from 'react'
|
2023-05-11 12:11:43 +03:30
|
|
|
import dynamic from 'next/dist/next-server/lib/dynamic'
|
2023-05-30 02:00:30 +03:30
|
|
|
import { Skeleton } from '@chakra-ui/react'
|
2023-01-04 08:47:19 +03:30
|
|
|
|
2023-05-11 12:11:43 +03:30
|
|
|
const StockPriceChart = dynamic(() => import('../../src/components/Chart'), {
|
2023-05-30 02:00:30 +03:30
|
|
|
ssr: false,
|
|
|
|
|
loading: () => <Skeleton height={200} className='w-full'/>
|
2023-05-11 12:11:43 +03:30
|
|
|
})
|
2023-01-04 08:47:19 +03:30
|
|
|
const index = () => {
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<StockPriceChart />
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default index
|