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));
|
||||
}
|
||||
break;
|
||||
case 'received':
|
||||
yield put(stopOrderTimerSwap());
|
||||
break;
|
||||
case 'complete':
|
||||
yield put(stopPollShapeshiftOrderStatus());
|
||||
yield put(stopLoadShapeshiftRatesSwap());
|
||||
|
|
Loading…
Reference in New Issue