⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
fix type
Isaacde5a43cea472
diff --git a/packages/router/user.tsx b/packages/router/user.tsxindex 5e00dc40..96a097ea 100644--- a/packages/router/user.tsx+++ b/packages/router/user.tsx@@ -1,5 +1,5 @@import { UpdateUserPreferenceSchemaType } from "@linkwarden/lib/schemaValidation";-import { Subscription, User, WhitelistedUser } from "@linkwarden/prisma/client";+import { DashboardSection, Subscription, User, WhitelistedUser } from "@linkwarden/prisma/client";import { MobileAuth } from "@linkwarden/types";import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query";import { useSession } from "next-auth/react";@@ -47,6 +47,7 @@ const useUser = (auth?: MobileAuth) => {};} & {whitelistedUsers: string[];+ dashboardSections: DashboardSection[];};document.querySelector("html")?.setAttribute("data-theme", data.theme);@@ -66,6 +67,7 @@ const useUser = (auth?: MobileAuth) => {};} & {whitelistedUsers: string[];+ dashboardSections: DashboardSection[];},});};