We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743498f commit 36eeb18Copy full SHA for 36eeb18
demos/with-react-vite/src/utils.ts
@@ -1,5 +1,5 @@
1
export function isMobile() {
2
- const userAgent = navigator.userAgent || navigator.vendor || window.opera;
+ const userAgent = navigator.userAgent || navigator.vendor;
3
return /android|iPhone|iPad|iPod|blackberry|windows phone|mobile/i.test(
4
userAgent
5
);
0 commit comments