알림팝업 전체닫기 오류 수정

This commit is contained in:
Macbook
2026-05-23 21:25:46 +09:00
parent 70ac67afe7
commit 4df8279a31
11 changed files with 290 additions and 170 deletions
+4 -1
View File
@@ -17,6 +17,7 @@ import type { TradeOrderFillRequest } from '../types';
import PaperMiniChart from './paper/PaperMiniChart';
import PaperIndicatorPanel from './paper/PaperIndicatorPanel';
import PaperCompactOrderbook from './paper/PaperCompactOrderbook';
import type { Theme } from '../types';
const COIN_COLORS: Record<string, string> = {
BTC: '#f7931a', ETH: '#627eea', XRP: '#23292f', SOL: '#9945ff',
@@ -28,6 +29,7 @@ type HistoryTab = 'open' | 'recent';
type RightTab = 'trade' | 'orderbook';
interface Props {
theme?: Theme;
tickers?: Map<string, { tradePrice: number | null }>;
onGoChart?: (market: string) => void;
refreshKey?: number;
@@ -66,6 +68,7 @@ function coinIcon(code: string): string {
}
const PaperTradingPage: React.FC<Props> = ({
theme = 'dark',
tickers,
refreshKey = 0,
defaultMarket = 'KRW-BTC',
@@ -264,7 +267,7 @@ const PaperTradingPage: React.FC<Props> = ({
<main className="ptd-col ptd-col--center">
<div className="ptd-card ptd-chart-card">
<PaperMiniChart market={selectedMarket} />
<PaperMiniChart market={selectedMarket} theme={theme} />
<PaperIndicatorPanel market={selectedMarket} />
</div>
</main>