Created
December 1, 2025 11:50
-
-
Save nash403/c9eafd789c91c47bc4c7d82e8e7d20d4 to your computer and use it in GitHub Desktop.
Simple is desktop test in JS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const isDesktop = () => window.matchMedia('(hover: hover)').matches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment