mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
9 lines
178 B
TypeScript
9 lines
178 B
TypeScript
import useWindowWidth from './use-window-width';
|
|
|
|
const useIsMobile = () => {
|
|
const windowWidth = useWindowWidth();
|
|
return windowWidth < 640;
|
|
};
|
|
|
|
export default useIsMobile;
|