bolt.diy / app /utils /mobile.ts
Sam Denty
fix: remove monorepo
6fb59d2 unverified
raw
history blame
143 Bytes
export function isMobile() {
// we use sm: as the breakpoint for mobile. It's currently set to 640px
return globalThis.innerWidth < 640;
}