서버 차트로딩중 오류 수정
This commit is contained in:
@@ -145,7 +145,10 @@ export function useStompChartData(
|
||||
/** 백엔드 history 비어 있을 때 STOMP 누적 → React bars 동기화 */
|
||||
const bootstrapFromStompRef = useRef(false);
|
||||
useEffect(() => {
|
||||
if (opts.enabled === false) return;
|
||||
if (opts.enabled === false) {
|
||||
setIsLoading(false);
|
||||
return;
|
||||
}
|
||||
let cancelled = false;
|
||||
historyReadyRef.current = false;
|
||||
bootstrapFromStompRef.current = false;
|
||||
|
||||
Reference in New Issue
Block a user