mirror of
https://github.com/whippyshou/mastodon
synced 2024-12-12 13:48:30 +09:00
6 lines
107 B
JavaScript
6 lines
107 B
JavaScript
const LAYOUT_BREAKPOINT = 1024;
|
|
|
|
export function isMobile(width) {
|
|
return width <= LAYOUT_BREAKPOINT;
|
|
};
|