mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
9 lines
283 B
TypeScript
9 lines
283 B
TypeScript
import type { ApplicationData } from "@versia/client/types";
|
|
import { StorageSerializers } from "@vueuse/core";
|
|
|
|
export const useAppData = () => {
|
|
return useLocalStorage<ApplicationData | null>("versia:app_data", null, {
|
|
serializer: StorageSerializers.object,
|
|
});
|
|
};
|