Skip to content

Commit

Permalink
refactor: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ffmcgee725 committed Dec 13, 2024
1 parent 07abf08 commit 06e9771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/initializeInpageProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export async function announceCaip294WalletData(
return;
}

const providerState = await provider.request<{ extensionId: string }>({
const providerState = await provider.request<{ extensionId?: string }>({
method: 'metamask_getProviderState',
});
const extensionId = providerState?.extensionId;
Expand Down

0 comments on commit 06e9771

Please sign in to comment.