mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
remove unnecessary listner
This commit is contained in:
parent
719d0f4ad5
commit
478a07ea81
@ -9,12 +9,7 @@ const background = new SWcontroller({
|
||||
letBeIdle: false,
|
||||
intervalDelay,
|
||||
})
|
||||
window.onfocus = () => {
|
||||
background.sendMessage('wakeUp')
|
||||
.catch((err) => {
|
||||
console.error('problem with wake up', err)
|
||||
})
|
||||
}
|
||||
|
||||
const pageStream = new ParentStream()
|
||||
background.on('ready', (_) => {
|
||||
let swStream = SwStream({
|
||||
|
Loading…
Reference in New Issue
Block a user