mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
9 lines
265 B
TypeScript
9 lines
265 B
TypeScript
import type { Token } from "@lysand-org/client";
|
|
import { StorageSerializers } from "@vueuse/core";
|
|
|
|
export const useTokenData = () => {
|
|
return useLocalStorage<Token | null>("lysand:token_data", null, {
|
|
serializer: StorageSerializers.object,
|
|
});
|
|
};
|