mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-23 09:49:17 +00:00
Update ConnectDevicePage.tsx
This commit is contained in:
parent
9ca87c1aff
commit
f8e0f7e01c
@ -18,7 +18,6 @@ const ConnectDevicePage = () => {
|
|||||||
setWindowWidth(window.innerWidth)
|
setWindowWidth(window.innerWidth)
|
||||||
}
|
}
|
||||||
window.addEventListener('resize', handleResize)
|
window.addEventListener('resize', handleResize)
|
||||||
|
|
||||||
return () => window.removeEventListener('resize', handleResize)
|
return () => window.removeEventListener('resize', handleResize)
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user