feat: update small screen breakpoint to 768px
This commit is contained in:
parent
5df33837ab
commit
5d41e31d07
2 changed files with 7 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ export const useScreenSize = () => {
|
|||
}
|
||||
|
||||
export function ScreenSizeProvider({ children }: { children: React.ReactNode }) {
|
||||
const isSmallScreen = useMemo(() => window.innerWidth < 640, [])
|
||||
const isSmallScreen = useMemo(() => window.innerWidth <= 768, [])
|
||||
const isLargeScreen = useMemo(() => window.innerWidth >= 1280, [])
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue