From 7af2f6a8e608c4cf074c6e6c1726105bb292be18 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Thu, 12 Dec 2024 12:10:06 -0500 Subject: [PATCH] Update type in `updateMetamaskState` --- ui/store/actions.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ui/store/actions.ts b/ui/store/actions.ts index 53e6eedfec40..1988a32ad78b 100644 --- a/ui/store/actions.ts +++ b/ui/store/actions.ts @@ -1605,12 +1605,7 @@ export function unlockSucceeded(message?: string) { export function updateMetamaskState( patches: Patch[], -): ThunkAction< - void, - Omit & { metamask: BackgroundStateProxy }, - unknown, - AnyAction -> { +): ThunkAction { return (dispatch, getState) => { const state = getState(); const providerConfig = getProviderConfig(state);