Skip to content

Commit

Permalink
Merge pull request #61 from Raggok/patch-1
Browse files Browse the repository at this point in the history
fix to work with nextjs
  • Loading branch information
JamesBrill authored Aug 26, 2020
2 parents 4de0d15 + 075304d commit 407fa47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isAndroid.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default () => /(android)/i.test(navigator.userAgent)
export default () => /(android)/i.test(typeof navigator !== 'undefined' ? navigator.userAgent : "")

0 comments on commit 407fa47

Please sign in to comment.