mirror of
https://github.com/harivansh-afk/asap.it.git
synced 2026-04-15 19:05:13 +00:00
4 lines
143 B
TypeScript
4 lines
143 B
TypeScript
export function isMobile() {
|
|
// we use sm: as the breakpoint for mobile. It's currently set to 640px
|
|
return globalThis.innerWidth < 640;
|
|
}
|