Skip to content

Commit

Permalink
fix(chrome-extension): remove iframe after its use
Browse files Browse the repository at this point in the history
  • Loading branch information
meskill committed Sep 18, 2022
1 parent 25aef55 commit 5197033
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chrome-extension/src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const getAddressWithIframe = () => {
window.removeEventListener('message', listener);

writeAddressIntoStorage(data);
iframe.remove();

resolve(data);
}
};
Expand Down

0 comments on commit 5197033

Please sign in to comment.