Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Sep 6, 2024
1 parent 76370a6 commit ec6762f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/src/lib/wallet/cosmos/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export type CosmosWalletId = (typeof cosmosWalletsInformation)[number]["id"]
function createCosmosStore(
previousState: ChainWalletStore<"cosmos"> & {
rawAddress: Uint8Array | undefined
connectedWallet: CosmosWalletId | "none"
connectedWallet: CosmosWalletId | undefined
} = {
chain: "cosmos",
hoverState: "none",
Expand Down Expand Up @@ -109,7 +109,7 @@ function createCosmosStore(
}
update(v => ({
...v,
connectedWallet: "none",
connectedWallet: undefined,
connectionStatus: "disconnected",
address: undefined,
rawAddress: undefined
Expand Down
5 changes: 0 additions & 5 deletions app/src/routes/transfer/(components)/transfer-form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,6 @@ let hopChain = derived(ucs01Configuration, $ucs01Configuration => {
return chains.find(c => c.chain_id === $ucs01Configuration.hopChainId) ?? null
})
$: {
console.info($ucs01Configuration)
console.info($hopChain)
}
const transfer = async () => {
if (!$assetSymbol) return toast.error("Please select an asset")
if (!$asset) return toast.error(`Error finding asset ${$assetSymbol}`)
Expand Down

0 comments on commit ec6762f

Please sign in to comment.