mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-16 06:04:21 +00:00
Stop Timer when Swap Order is Received (#791)
This commit is contained in:
parent
db4dc516e2
commit
f4b8364abc
@ -301,6 +301,9 @@ export function* shapeshiftOrderTimeRemaining(): SagaIterator {
|
|||||||
yield put(showNotification('danger', ORDER_TIMEOUT_MESSAGE, Infinity));
|
yield put(showNotification('danger', ORDER_TIMEOUT_MESSAGE, Infinity));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'received':
|
||||||
|
yield put(stopOrderTimerSwap());
|
||||||
|
break;
|
||||||
case 'complete':
|
case 'complete':
|
||||||
yield put(stopPollShapeshiftOrderStatus());
|
yield put(stopPollShapeshiftOrderStatus());
|
||||||
yield put(stopLoadShapeshiftRatesSwap());
|
yield put(stopLoadShapeshiftRatesSwap());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user