getOverlayAnchor running infinitely

Hello team, I am trying to use getOverlayAnchor to overlay my UI on a particular site. Here's the code:
export const getOverlayAnchor: PlasmoGetOverlayAnchor = async () => {
console.log("hi")
return document.querySelector('#test')
}
export const getOverlayAnchor: PlasmoGetOverlayAnchor = async () => {
console.log("hi")
return document.querySelector('#test')
}
The UI is rendering fine. But he console.log is getting fired infinitely. Can you help me fix this?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server