diff --git a/UI/src/app/store/transaction-store/state/effects.ts b/UI/src/app/store/transaction-store/state/effects.ts index 51644e74..fdc6c3e0 100644 --- a/UI/src/app/store/transaction-store/state/effects.ts +++ b/UI/src/app/store/transaction-store/state/effects.ts @@ -16,7 +16,7 @@ import { loadTransactionsFromBridgeTransferSuccess, localTransactionSentSuccessfully } from './actions'; -import { mintTokenSuccess } from '../../tokens-management-store/state/actions'; +import { mintTokenSuccess, burnTokenSuccess } from '../../tokens-management-store/state/actions'; @Injectable() export class TransactionEffects { @@ -60,10 +60,10 @@ export class TransactionEffects { ); }); - minTokenSent$ = createEffect(() => { + tokenSent$ = createEffect(() => { return this.actions$.pipe( - ofType(mintTokenSuccess), - map((action: ReturnType) => { + ofType(mintTokenSuccess, burnTokenSuccess), + map((action: ReturnType) => { return localTransactionSentSuccessfully({ card: { title: $localize`:@@transaction.payment.title:Transaction sent successfully`,