서버 차트로딩중 오류 수정

This commit is contained in:
Macbook
2026-06-12 22:31:02 +09:00
parent 9e4d24ee2a
commit b55349062f
3 changed files with 8 additions and 10 deletions
+2 -3
View File
@@ -1959,10 +1959,9 @@ export function useChartWorkspace({
const chartDataFetched = !useUpbit || (!isLoading && bars.length >= 2 && barsMarket === symbol);
const chartPaintComplete = layoutDef.count > 1 ? allSlotsPaintReady : singleChartPaintReady;
const chartDataLoading = useUpbit && chartVisible && (!chartConfigReady || !chartDataFetched);
/** paint 완료 = reloadAll setData까지 끝남 — chartDataFetched 와 이중 게이트 시 영구 로딩 가능 */
const chartAreaLoading = useUpbit && chartVisible && (
!chartConfigReady
|| !chartPaintComplete
|| (layoutDef.count === 1 && !chartDataFetched)
!chartConfigReady || !chartPaintComplete
);
const viewProps: ChartWorkspaceViewProps = {