A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix (Calendar Widget): Add superjson serialization to query cache persister (#6172)
Bergashab663dae4098c
diff --git a/apps/nextjs/src/app/[locale]/_client-providers/query-cache-persister.ts b/apps/nextjs/src/app/[locale]/_client-providers/query-cache-persister.tsindex 1b9a011aa..3af24c508 100644--- a/apps/nextjs/src/app/[locale]/_client-providers/query-cache-persister.ts+++ b/apps/nextjs/src/app/[locale]/_client-providers/query-cache-persister.ts@@ -1,4 +1,5 @@import { createAsyncStoragePersister } from "@tanstack/query-async-storage-persister";+import superjson from "superjson";import { fetchApi } from "@homarr/api/client";import { getActiveQueryCacheBoardId, queryCacheStoragePrefix } from "@homarr/api/query-cache";@@ -26,4 +27,6 @@ export const createWidgetQueryPersister = () =>storage: typeof window === "undefined" ? undefined : queryCacheStorage,key: queryCacheStoragePrefix,throttleTime: 2000,+ serialize: (data) => superjson.stringify(data),+ deserialize: (data) => superjson.parse(data),});