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…
Reference in New Issue