Commit 2135ed2b authored by tom's avatar tom

fix breakpoints

parent 99f15fed
import { useBreakpointValue } from '@chakra-ui/react';
export default function useIsMobile() {
return useBreakpointValue({ base: true, lg: false });
}
const breakpoints = {
// maybe we need them in future
// sm: '320px',
// md: '768px',
lg: '1000px',
// these breakpoints are needed just to make "lg" work
xl: '2000px',
'2xl': '3000px',
};
export default breakpoints;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment