diff --git a/packages/arb-token-bridge-ui/src/hooks/arbTokenBridge.types.ts b/packages/arb-token-bridge-ui/src/hooks/arbTokenBridge.types.ts index c4b4451e12..8f7958a698 100644 --- a/packages/arb-token-bridge-ui/src/hooks/arbTokenBridge.types.ts +++ b/packages/arb-token-bridge-ui/src/hooks/arbTokenBridge.types.ts @@ -165,13 +165,8 @@ export interface TransactionActions { ) => void } -export type ArbTokenBridgeTransactions = { - transactions: Transaction[] -} & Pick - export interface ArbTokenBridge { bridgeTokens: ContractStorage | undefined eth: ArbTokenBridgeEth token: ArbTokenBridgeToken - transactions: ArbTokenBridgeTransactions } diff --git a/packages/arb-token-bridge-ui/src/hooks/useArbTokenBridge.ts b/packages/arb-token-bridge-ui/src/hooks/useArbTokenBridge.ts index 2d462063da..6d96383d1d 100644 --- a/packages/arb-token-bridge-ui/src/hooks/useArbTokenBridge.ts +++ b/packages/arb-token-bridge-ui/src/hooks/useArbTokenBridge.ts @@ -12,7 +12,6 @@ import { } from '@arbitrum/sdk' import { L2ToL1TransactionEvent as ClassicL2ToL1TransactionEvent } from '@arbitrum/sdk/dist/lib/abi/ArbSys' -import useTransactions from './useTransactions' import { ArbTokenBridge, ContractStorage, @@ -137,9 +136,6 @@ export const useArbTokenBridge = ( const l1NetworkID = useMemo(() => String(l1.network.id), [l1.network.id]) - const [transactions, { addTransaction, updateTransaction }] = - useTransactions() - const removeTokensFromList = (listID: number) => { setBridgeTokens(prevBridgeTokens => { const newBridgeTokens = { ...prevBridgeTokens } @@ -537,11 +533,6 @@ export const useArbTokenBridge = ( removeTokensFromList, updateTokenData, triggerOutbox: triggerOutboxToken - }, - transactions: { - transactions, - updateTransaction, - addTransaction } } }