remove window width copypasta
This commit is contained in:
parent
c06bcf3303
commit
2879495b8a
3 changed files with 11 additions and 5 deletions
5
src/services/window_utils/window_utils.js
Normal file
5
src/services/window_utils/window_utils.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
export const windowWidth = () =>
|
||||
window.innerWidth ||
|
||||
document.documentElement.clientWidth ||
|
||||
document.body.clientWidth
|
Loading…
Add table
Add a link
Reference in a new issue