Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed Nov 14, 2024
1 parent 5050d92 commit f3a6025
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions ui/ducks/bridge/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,6 @@ export const getToChain = createDeepEqualSelector(
toChains.find(({ chainId }) => chainId === toChainId),
);

export const getApprovalGasMultipliers = (state: BridgeAppState) => {
return (
state.metamask.bridgeState.bridgeFeatureFlags.approvalGasMultiplier ?? {}
);
};

export const getBridgeGasMultipliers = (state: BridgeAppState) => {
return (
state.metamask.bridgeState.bridgeFeatureFlags.bridgeGasMultiplier ?? {}
);
};

export const getFromTokens = (state: BridgeAppState) => {
return state.metamask.bridgeState.srcTokens ?? {};
};
Expand Down
4 changes: 0 additions & 4 deletions ui/pages/bridge/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ export enum BridgeFlag {
EXTENSION_SUPPORT = 'extension-support',
NETWORK_SRC_ALLOWLIST = 'src-network-allowlist',
NETWORK_DEST_ALLOWLIST = 'dest-network-allowlist',
APPROVAL_GAS_MULTIPLIER = 'approval-gas-multiplier',
BRIDGE_GAS_MULTIPLIER = 'bridge-gas-multiplier',
}

type DecimalChainId = string;
Expand All @@ -19,8 +17,6 @@ export type FeatureFlagResponse = {
[BridgeFlag.EXTENSION_SUPPORT]: boolean;
[BridgeFlag.NETWORK_SRC_ALLOWLIST]: number[];
[BridgeFlag.NETWORK_DEST_ALLOWLIST]: number[];
[BridgeFlag.APPROVAL_GAS_MULTIPLIER]: GasMultiplierByChainId;
[BridgeFlag.BRIDGE_GAS_MULTIPLIER]: GasMultiplierByChainId;
};

export type BridgeAsset = {
Expand Down

0 comments on commit f3a6025

Please sign in to comment.