Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed Nov 14, 2024
1 parent 58ffb64 commit 5050d92
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/scripts/controllers/bridge/bridge-controller.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { add0x, Hex } from '@metamask/utils';
import { StaticIntervalPollingController } from '@metamask/polling-controller';
import { NetworkClientId, Provider } from '@metamask/network-controller';
import { NetworkClientId } from '@metamask/network-controller';
import { StateMetadata } from '@metamask/base-controller';
import { Contract } from '@ethersproject/contracts';
import { abiERC20 } from '@metamask/metamask-eth-abis';
Expand Down
3 changes: 1 addition & 2 deletions ui/ducks/bridge/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import { decGWEIToHexWEI } from '../../../shared/modules/conversion.utils';
import { FEATURED_RPCS } from '../../../shared/constants/network';
import { getEthUsdtResetData, isEthUsdt } from '../../pages/bridge/bridge.util';
import { ETH_USDT_ADDRESS } from '../../../shared/constants/bridge';
import BridgeController from '../../../app/scripts/controllers/bridge/bridge-controller';
import { bridgeSlice } from './bridge';
import { BridgeAppState } from './selectors';

Expand Down Expand Up @@ -120,7 +119,7 @@ export const updateQuoteRequestParams = (params: Partial<QuoteRequest>) => {
export const getBridgeERC20Allowance = async (
contractAddress: string,
chainId: Hex,
): ReturnType<BridgeController['getBridgeERC20Allowance']> => {
): Promise<string> => {
return await submitRequestToBackground(
BridgeBackgroundAction.GET_BRIDGE_ERC20_ALLOWANCE,
[contractAddress, chainId],
Expand Down
1 change: 0 additions & 1 deletion ui/pages/bridge/bridge.util.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Contract } from '@ethersproject/contracts';
import { Hex, add0x } from '@metamask/utils';
import { TransactionParams } from '@metamask/transaction-controller';
import { abiERC20 } from '@metamask/metamask-eth-abis';
import {
BridgeFeatureFlagsKey,
Expand Down

0 comments on commit 5050d92

Please sign in to comment.