Skip to content

Commit

Permalink
fix token ton in osmosis bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Dec 11, 2024
1 parent 057da57 commit add6a00
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/libs/duckdb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NetworkChainId } from '@oraichain/oraidex-common';
import * as duckdb from '@duckdb/duckdb-wasm';
import eh_worker from '@duckdb/duckdb-wasm/dist/duckdb-browser-eh.worker.js?url';
import { get, set } from 'idb-keyval';
import eh_worker from '@duckdb/duckdb-wasm/dist/duckdb-eh.wasm?url';

export type TransactionHistory = {
initialTxHash: string;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Balance/TransferConvertToken/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ const TransferConvertToken: FC<TransferConvertProps> = ({
{isOpen && (
<div>
<ul className={classNames(styles.items, styles[theme])}>
{networks.map((chainId) => {
{[...(token?.bridgeTo || ['Oraichain'])].map((chainId) => {
const net = findChainByChainId(chainId);
return (
<li
Expand Down
5 changes: 0 additions & 5 deletions src/pages/Balance/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -725,11 +725,6 @@ const Balance: React.FC<BalanceProps> = () => {
}
//-------------------------------------------------------

console.log({
from,
newToToken
});

const universalSwapHandler = new UniversalSwapHandler(
{
sender: { cosmos: cosmosAddress, evm: latestEvmAddress, tron: tronAddress },
Expand Down

0 comments on commit add6a00

Please sign in to comment.