Skip to content

Commit

Permalink
chore: remove unnecessary window.postMessage for W3mFrame (#2658)
Browse files Browse the repository at this point in the history
Co-authored-by: tomiir <rocchitomas@gmail.com>
  • Loading branch information
zoruka and tomiir authored Aug 14, 2024
1 parent 0c55f97 commit acc534a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/wallet/src/W3mFrame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export class W3mFrame {
throw new Error('W3mFrame: iframe is not set')
}
W3mFrameSchema.appEvent.parse(event)
window.postMessage(event)
this.iframe.contentWindow.postMessage(event, '*')
}
},
Expand Down

0 comments on commit acc534a

Please sign in to comment.