bridge.send is firing twice in background script #17023
Unanswered
khurram-ansari
asked this question in
CLI - BEX mode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
export default bexBackground((bridge /* , allActiveConnections */) => { chrome.action.onClicked.addListener(async () => { await bridge.send('open.ui'); }); )};when using chrome action onClicked Listener inside the bexBackground it fires twice.
I have tested it out like this as well
and it still fires twice.
What could be the issue?
Beta Was this translation helpful? Give feedback.
All reactions