Skip to content

Commit

Permalink
chore: fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wainola committed Jun 4, 2024
1 parent 355f6fd commit 98cd816
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export class FungibleTokenTransfer extends BaseComponent {
}
};


renderTransferStatus(): HTMLTemplateResult {
return html` <section>
<sygma-transfer-status
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,20 @@ export class FungibleTransferDetail extends BaseComponent {
render(): HTMLTemplateResult {
return html`
<section class="transferDetail">
${
when(
this.fee !== null,
() => html `
<div class="transferDetailContainer">
<div class="transferDetailContainerLabel">Amount to receive: </div>
${when(
this.fee !== null,
() =>
html` <div class="transferDetailContainer">
<div class="transferDetailContainerLabel">Amount to receive:</div>
<div class="transferDetailContainerValue">
${tokenBalanceToNumber(
this.amountToReceive,
this.selectedResource?.decimals!
)}
${this.selectedResource?.symbol}
${tokenBalanceToNumber(
this.amountToReceive,
this.selectedResource?.decimals as number
)}
${this.selectedResource?.symbol}
</div>
</div>`
)
}
)}
${when(
this.fee !== null,
() =>
Expand Down

0 comments on commit 98cd816

Please sign in to comment.