mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
feat: updates
This commit is contained in:
parent
9a52681687
commit
840a5b8e9b
104 changed files with 1645 additions and 13494 deletions
9
packages/web/hooks/useSettings.ts
Normal file
9
packages/web/hooks/useSettings.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { useSnapshot } from 'valtio'
|
||||
import settings from '../states/settings'
|
||||
|
||||
function useSettings() {
|
||||
const settingsState = useSnapshot(settings)
|
||||
return settingsState
|
||||
}
|
||||
|
||||
export default useSettings
|
||||
Loading…
Add table
Add a link
Reference in a new issue