remove window width copypasta

This commit is contained in:
shpuld 2019-04-01 22:41:34 +03:00
parent c06bcf3303
commit 2879495b8a
3 changed files with 11 additions and 5 deletions

View file

@ -0,0 +1,5 @@
export const windowWidth = () =>
window.innerWidth ||
document.documentElement.clientWidth ||
document.body.clientWidth