12 lines
229 B
TypeScript
12 lines
229 B
TypeScript
import { createGlobalState } from '@vueuse/core'
|
|
|
|
export const usePreferences = createGlobalState(() => {
|
|
const audioDevice = shallowRef()
|
|
const videoDevice = shallowRef()
|
|
|
|
return {
|
|
audioDevice,
|
|
videoDevice,
|
|
}
|
|
})
|