Skip to content

Commit

Permalink
Update type in updateMetamaskState
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Jan 14, 2025
1 parent 5f65555 commit 7af2f6a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ui/store/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1605,12 +1605,7 @@ export function unlockSucceeded(message?: string) {

export function updateMetamaskState(
patches: Patch[],
): ThunkAction<
void,
Omit<MetaMaskReduxState, 'metamask'> & { metamask: BackgroundStateProxy },
unknown,
AnyAction
> {
): ThunkAction<void, MetaMaskReduxState, unknown, AnyAction> {
return (dispatch, getState) => {
const state = getState();
const providerConfig = getProviderConfig(state);
Expand Down

0 comments on commit 7af2f6a

Please sign in to comment.