This commit is contained in:
Hayden 2022-09-02 09:46:20 -08:00
parent 8ece3bd7bf
commit 11dcff450c
15 changed files with 536 additions and 22 deletions

View file

@ -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',
{