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…
Reference in New Issue