diff --git a/src/components/evm-tx-follower/index.svelte b/src/components/evm-tx-follower/index.svelte index 535fa4b7..65ea590c 100644 --- a/src/components/evm-tx-follower/index.svelte +++ b/src/components/evm-tx-follower/index.svelte @@ -6,14 +6,14 @@ import Button from '~/components/elements/button.svelte' import Card from '~/components/elements/card.svelte' - import type { ethers } from 'ethers' + import type {ethers} from 'ethers' /** Title, e.g. Tokens sent */ export let title = 'Transaction sent' /** The EVM transaction result */ export let evmTransactResult: ethers.providers.TransactionResponse | undefined - /** The text of the primary button at the bottom of the page */ - export let primaryButtonText = 'Done' + /** The text of the primary button at the bottom of the page */ + export let primaryButtonText = 'Done' /** The function to call when the primary button is clicked */ export let handlePrimaryButtonClick: () => void = () => { router.goto('/') @@ -23,7 +23,9 @@ if (evmTransactResult?.hash) { txId = evmTransactResult?.hash } else { - console.warn('Invalid EVM Transact Result data passed to EvmTxFollower. Missing transaction hash.') + console.warn( + 'Invalid EVM Transact Result data passed to EvmTxFollower. Missing transaction hash.' + ) txId = '0000000000000000000000000000000000000000000000000000000000000000' } diff --git a/src/lib/fiat.ts b/src/lib/fiat.ts index d671ec97..4daf8fe7 100644 --- a/src/lib/fiat.ts +++ b/src/lib/fiat.ts @@ -5,4 +5,4 @@ export function fiatFormat(value: number) { export function valueInFiat(value: number, price: number) { return fiatFormat(value * price) -} \ No newline at end of file +} diff --git a/src/pages/transfer/confirm.svelte b/src/pages/transfer/confirm.svelte index af066aac..d99f390d 100644 --- a/src/pages/transfer/confirm.svelte +++ b/src/pages/transfer/confirm.svelte @@ -5,7 +5,7 @@ import TokenImage from '~/components/elements/image/token.svelte' import {systemTokenKey} from '~/stores/tokens' - import { valueInFiat } from '~/lib/fiat' + import {valueInFiat} from '~/lib/fiat' import {evmAccount, activeSession, activePriceTicker} from '~/store' import type {Token} from '~/stores/tokens' @@ -65,7 +65,7 @@ display: flex; align-items: center; flex-direction: column; - align-self: center; + align-self: center; &:first-of-type { font-weight: bold; diff --git a/src/pages/transfer/form.svelte b/src/pages/transfer/form.svelte index 6310250f..cb23f719 100644 --- a/src/pages/transfer/form.svelte +++ b/src/pages/transfer/form.svelte @@ -123,7 +123,7 @@ } .label-container { - padding: 3px 8px; + padding: 3px 8px; } } @@ -190,13 +190,13 @@ {#if receivedAmount && receivedAmount.value > 0 && feeAmount && feeAmount.value > 0}