Skip to content

Commit

Permalink
fix: ts errors with redux state and bridge state
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed Oct 11, 2024
1 parent 9881d61 commit b5bd9ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/ducks/bridge/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { ETH_USDT_ADDRESS, FeeType } from '../../../shared/constants/bridge';
import BridgeController from '../../../app/scripts/controllers/bridge/bridge-controller';
import bridge, { bridgeSlice } from './bridge';
import {
BridgeAppState,
getApprovalGasMultipliers,
getBridgeGasMultipliers,
getQuotes,
Expand Down Expand Up @@ -120,7 +121,7 @@ export const submitBridgeTransaction = (
) => {
return async (
dispatch: MetaMaskReduxDispatch,
getState: () => MetaMaskReduxState,
getState: () => MetaMaskReduxState & BridgeAppState,
) => {
const state = getState();
const isBridgeEnabled = getIsBridgeEnabled(state);
Expand Down

0 comments on commit b5bd9ad

Please sign in to comment.