mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: updates
This commit is contained in:
parent
d09c5fd171
commit
133881d287
28 changed files with 389 additions and 115 deletions
8
packages/web/hooks/useIsMobile.ts
Normal file
8
packages/web/hooks/useIsMobile.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import useBreakpoint from './useBreakpoint'
|
||||
|
||||
const useIsMobile = () => {
|
||||
const breakpoint = useBreakpoint()
|
||||
return ['sm', 'md'].includes(breakpoint)
|
||||
}
|
||||
|
||||
export default useIsMobile
|
||||
Loading…
Add table
Add a link
Reference in a new issue