File size: 143 Bytes
2e1ab99
 
 
 
1
2
3
4
5
export function isMobile() {
  // we use sm: as the breakpoint for mobile. It's currently set to 640px
  return globalThis.innerWidth < 640;
}