bolt.new / app /utils /mobile.ts
GamerC0der
Add application file
bf8b26e
export function isMobile() {
// we use sm: as the breakpoint for mobile. It's currently set to 640px
return globalThis.innerWidth < 640;
}