Skip to content

Commit

Permalink
lint: use OptionToken
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioVentilii committed Nov 14, 2024
1 parent b6ecf03 commit 5f55896
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import Transaction from '$lib/components/transactions/Transaction.svelte';
import { i18n } from '$lib/stores/i18n.store';
import { modalStore } from '$lib/stores/modal.store';
import type { Token } from '$lib/types/token';
import type { OptionToken } from '$lib/types/token';
export let transaction: BtcTransactionUi;
export let token: Token | undefined = undefined;
export let token: OptionToken = undefined;
let value: bigint | undefined;
let timestamp: bigint | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
import Transaction from '$lib/components/transactions/Transaction.svelte';
import { i18n } from '$lib/stores/i18n.store';
import { modalStore } from '$lib/stores/modal.store';
import type { Token } from '$lib/types/token';
import type { OptionToken } from '$lib/types/token';
import type { TransactionStatus } from '$lib/types/transaction';
import { replacePlaceholders } from '$lib/utils/i18n.utils';
export let transaction: EthTransactionUi;
export let token: Token | undefined = undefined;
export let token: OptionToken = undefined;
let value: BigNumber;
let timestamp: number | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import Amount from '$lib/components/ui/Amount.svelte';
import Card from '$lib/components/ui/Card.svelte';
import RoundedIcon from '$lib/components/ui/RoundedIcon.svelte';
import type { Token } from '$lib/types/token';
import type { OptionToken } from '$lib/types/token';
import type { TransactionStatus, TransactionType } from '$lib/types/transaction';
import { formatSecondsToDate } from '$lib/utils/format.utils.js';
import { mapTransactionIcon } from '$lib/utils/transaction.utils';
Expand All @@ -17,7 +17,7 @@
export let status: TransactionStatus;
export let timestamp: number | undefined;
export let styleClass: string | undefined = undefined;
export let token: Token | undefined = undefined;
export let token: OptionToken = undefined;
let icon: ComponentType;
$: icon = mapTransactionIcon({ type, status });
Expand Down

0 comments on commit 5f55896

Please sign in to comment.