From 98cd816971057e7e5f7f0e502244389d6f60169e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Riquelme=20Guzm=C3=A1n?= Date: Tue, 4 Jun 2024 11:17:58 +0200 Subject: [PATCH] chore: fixing lint --- .../fungible/fungible-token-transfer.ts | 1 - .../transfer-detail/transfer-detail.ts | 25 ++++++++----------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/packages/widget/src/components/transfer/fungible/fungible-token-transfer.ts b/packages/widget/src/components/transfer/fungible/fungible-token-transfer.ts index 0564cd4b..15687d67 100644 --- a/packages/widget/src/components/transfer/fungible/fungible-token-transfer.ts +++ b/packages/widget/src/components/transfer/fungible/fungible-token-transfer.ts @@ -101,7 +101,6 @@ export class FungibleTokenTransfer extends BaseComponent { } }; - renderTransferStatus(): HTMLTemplateResult { return html`
- ${ - when( - this.fee !== null, - () => html ` -
-
Amount to receive:
+ ${when( + this.fee !== null, + () => + html`
+
Amount to receive:
- ${tokenBalanceToNumber( - this.amountToReceive, - this.selectedResource?.decimals! - )} - ${this.selectedResource?.symbol} + ${tokenBalanceToNumber( + this.amountToReceive, + this.selectedResource?.decimals as number + )} + ${this.selectedResource?.symbol}
` - ) - } - + )} ${when( this.fee !== null, () =>