차트 설정 수정
This commit is contained in:
@@ -63,10 +63,6 @@ export function useVirtualTargetRegistry() {
|
||||
|
||||
const remove = useCallback(async (market: string) => {
|
||||
if (!addedSet.has(market) || busyMarket === market) return;
|
||||
if (targets.find(t => t.market === market)?.pinned) {
|
||||
window.alert('고정된 종목은 투자대상에서 삭제할 수 없습니다.');
|
||||
return;
|
||||
}
|
||||
setBusyMarket(market);
|
||||
try {
|
||||
const next = await removeVirtualTarget(market);
|
||||
|
||||
Reference in New Issue
Block a user