forked from mirrors/homebox
stuff
This commit is contained in:
parent
8ece3bd7bf
commit
11dcff450c
15 changed files with 536 additions and 22 deletions
|
@ -5,10 +5,10 @@ export type LocationViewPreferences = {
|
|||
};
|
||||
|
||||
/**
|
||||
* useLocationViewPreferences loads the view preferences from local storage and hydrates
|
||||
* useViewPreferences loads the view preferences from local storage and hydrates
|
||||
* them. These are reactive and will update the local storage when changed.
|
||||
*/
|
||||
export function useLocationViewPreferences(): Ref<LocationViewPreferences> {
|
||||
export function useViewPreferences(): Ref<LocationViewPreferences> {
|
||||
const results = useLocalStorage(
|
||||
'homebox/preferences/location',
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue