Skip to content

Commit 36eeb18

Browse files
committed
fix: fixed
1 parent 743498f commit 36eeb18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/with-react-vite/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export function isMobile() {
2-
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
2+
const userAgent = navigator.userAgent || navigator.vendor;
33
return /android|iPhone|iPad|iPod|blackberry|windows phone|mobile/i.test(
44
userAgent
55
);

0 commit comments

Comments
 (0)