Skip to content

Commit

Permalink
✨ new(hooks): useResponsive hook deffaul breakpoints fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
creador-dev committed Sep 19, 2024
1 parent 4af0ebc commit 3e6c897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hooks/src/use-responsive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const useResponsive = (config: ConfigType = {}) => {
const defaultBreakpoints = useMemo(() => {
return {
desktop: 1024,
tablet: [1024, 600],
tablet: 600,
mobile: [600, 0],
...config,
}
Expand Down

0 comments on commit 3e6c897

Please sign in to comment.