Skip to content

Commit 1add77c

Browse files
committed
Update type in updateMetamaskState
1 parent 8b80846 commit 1add77c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ui/store/actions.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,12 +1605,7 @@ export function unlockSucceeded(message?: string) {
16051605

16061606
export function updateMetamaskState(
16071607
patches: Patch[],
1608-
): ThunkAction<
1609-
void,
1610-
Omit<MetaMaskReduxState, 'metamask'> & { metamask: BackgroundStateProxy },
1611-
unknown,
1612-
AnyAction
1613-
> {
1608+
): ThunkAction<void, MetaMaskReduxState, unknown, AnyAction> {
16141609
return (dispatch, getState) => {
16151610
const state = getState();
16161611
const providerConfig = getProviderConfig(state);

0 commit comments

Comments
 (0)