알림목록 전략지표 없음 문제 수정
This commit is contained in:
@@ -148,12 +148,13 @@ const TradeNotificationListRow: React.FC<Props> = ({
|
||||
item.strategyId,
|
||||
item.strategyName,
|
||||
prefetchedStrategies,
|
||||
item.market,
|
||||
).then(({ strategy: s, strategyId: sid }) => {
|
||||
if (!cancelled && s) setStrategy(s);
|
||||
else if (!cancelled && !s && sid == null) setStrategy(undefined);
|
||||
});
|
||||
return () => { cancelled = true; };
|
||||
}, [item.strategyId, item.strategyName, panelActive, isListLayout, prefetchedStrategies]);
|
||||
}, [item.strategyId, item.strategyName, item.market, panelActive, isListLayout, prefetchedStrategies]);
|
||||
|
||||
useEffect(() => {
|
||||
setExpandedChartKey(null);
|
||||
|
||||
Reference in New Issue
Block a user