- Fixed TradingChart data generation to use unique daily timestamps - Removed sample position data from trading page - Added better error handling and logging to chart initialization - Fixed time format issues that were preventing chart rendering - Added test pages for debugging chart functionality
15 lines
375 B
TypeScript
15 lines
375 B
TypeScript
'use client'
|
|
import React from 'react'
|
|
import TradingChart from '../../components/TradingChart'
|
|
|
|
export default function SimpleChartTest() {
|
|
return (
|
|
<div className="min-h-screen bg-gray-900 p-4">
|
|
<div className="max-w-7xl mx-auto">
|
|
<h1 className="text-2xl font-bold text-white mb-6">Chart Test</h1>
|
|
<TradingChart />
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|