chore: adjust useVisibilityChange

This commit is contained in:
chenjiahan
2020-09-12 21:47:05 +08:00
parent 10cfb36636
commit 68817e3aba
4 changed files with 7 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
export const inBrowser = typeof window !== 'undefined';