- Fixed internal API calls in Docker environment to use port 3000 instead of 9000 - Added DOCKER_ENV detection to properly route internal fetch requests - Resolves ECONNREFUSED errors when APIs try to call each other within container - Trade validation now works correctly in Docker: 5 USD position validates properly - Successfully tested: amountUSD field properly passed through validation pipeline - Both development and Docker environments now fully functional
13 lines
366 B
TypeScript
13 lines
366 B
TypeScript
'use client'
|
|
import React from 'react'
|
|
import WorkingTradingChart from '../../components/WorkingTradingChart'
|
|
|
|
export default function TestChartPage() {
|
|
return (
|
|
<div className="min-h-screen bg-gray-900 p-8">
|
|
<h1 className="text-white text-3xl mb-6">Working Chart Test</h1>
|
|
<WorkingTradingChart symbol="SOL/USDC" positions={[]} />
|
|
</div>
|
|
)
|
|
}
|