Skip to content

Commit 3ba53c1

Browse files
committed
fix(app): small fixes
1 parent 86e6c3f commit 3ba53c1

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

app/src/lib/components/TransferFrom/index.svelte

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import type {
2323
QuoteData
2424
} from "$lib/components/TransferFrom/transfer/types.ts"
2525
import { persisted } from "svelte-persisted-store"
26-
import {assets} from "$app/paths";
2726
2827
export let chains: Array<Chain>
2928
export let ucs03channels: Array<Ucs03Channel>
@@ -40,9 +39,6 @@ const userAddress = derived(
4039
)
4140
4241
const quoteResults = persisted<Record<string, QuoteData | null>>("quote-results", {})
43-
const getCacheKey = ($source: string, $asset: string, $destination: string) =>
44-
`${$source}-${$asset}-${$destination}`
45-
4642
const quoteToken: Readable<Nullable<QuoteData>> = derived<
4743
[DerivedSource, DerivedSource, DerivedSource],
4844
Nullable<QuoteData>

app/src/lib/components/TransferFrom/transfer/intents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Chain, Ucs03Channel, UserAddresses } from "$lib/types"
22
import type { FormFields } from "$lib/components/TransferFrom/transfer/raw-intents.ts"
33
import { fromHex } from "viem"
44
import { bech32ToBech32Address, getChannelInfo } from "@unionlabs/client"
5-
import type { Intents } from "$lib/components/TransferFrom/transfer/types.ts"
5+
import type { Intents, QuoteData } from "$lib/components/TransferFrom/transfer/types.ts"
66
import type { Balances } from "$lib/stores/balances.ts"
77
import type { TokenInfos } from "$lib/stores/tokens.ts"
88

0 commit comments

Comments
 (0)