mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
3 lines
136 B
TypeScript
3 lines
136 B
TypeScript
import { MOBILE_BREAKPOINT } from '$config/frontend';
|
|
|
|
export const isMobile = (): boolean => (window.innerWidth <= MOBILE_BREAKPOINT);
|