Skip to content

Commit

Permalink
Update openTokenboundwallet.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanniegb committed Nov 10, 2024
1 parent cd6d5b1 commit f71dc6c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ export const openTokenboundModal = async (
"message",
async (event: MessageEvent) => {
if (event.origin != origin) return
const { address, parentWallet }: Options = event.data
const { address, parentWallet, action }: Options =
event.data
if (action === "closeConnectKit") {
hideModal(modal)
}
if (!parentWallet || !address) return
const wallet_id = parentWallet.toLowerCase()
const globalObject: Record<string, any> = globalThis
Expand Down

0 comments on commit f71dc6c

Please sign in to comment.