Skip to content

Commit

Permalink
🐛 Fix missing await in metamask connectSnap
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Oct 9, 2023
1 parent 9be7e82 commit f78a7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/metamask-leap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function initMetaMaskLeap(

const snapInstalled = await getSnap();
if (!snapInstalled) {
connectSnap();
await connectSnap();
}
try {
// Some MetaMask Leap Snap configs not support empty string
Expand Down

0 comments on commit f78a7d1

Please sign in to comment.