Skip to content

Commit

Permalink
fix: didn't update renaming here
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteflower committed Oct 17, 2024
1 parent cd3cc1f commit 96e6e20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/ducks/bridge-status/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { forceUpdateMetamaskState } from '../../store/actions';
import { submitRequestToBackground } from '../../store/background-connection';
import { MetaMaskReduxDispatch } from '../../store/store';

const callBridgeStatusControllerMethod = <T extends any[]>(
const callBridgeStatusControllerMethod = <T extends unknown[]>(
bridgeAction: BridgeStatusAction,
args?: T,
) => {
Expand All @@ -22,9 +22,9 @@ export const getBridgeTxStatus = (statusRequest: StatusRequest) => {
return dispatch(
callBridgeStatusControllerMethod<
Parameters<
BridgeStatusController[BridgeStatusAction.GET_BRIDGE_TX_STATUS]
BridgeStatusController[BridgeStatusAction.START_POLLING_FOR_BRIDGE_TX_STATUS]
>
>(BridgeStatusAction.GET_BRIDGE_TX_STATUS, [statusRequest]),
>(BridgeStatusAction.START_POLLING_FOR_BRIDGE_TX_STATUS, [statusRequest]),
);
};
};

0 comments on commit 96e6e20

Please sign in to comment.