From 15d9d9897487d5e1881f75a4d92af37f6937eb80 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 1 Feb 2026 12:37:34 +0000 Subject: refactor: remove unused trpc files from web and mobile --- apps/web/components/utils/ValidAccountCheck.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/web/components/utils') diff --git a/apps/web/components/utils/ValidAccountCheck.tsx b/apps/web/components/utils/ValidAccountCheck.tsx index 49f42f9c..54d27b34 100644 --- a/apps/web/components/utils/ValidAccountCheck.tsx +++ b/apps/web/components/utils/ValidAccountCheck.tsx @@ -2,9 +2,10 @@ import { useEffect } from "react"; import { useRouter } from "next/navigation"; -import { useTRPC } from "@/lib/trpc"; import { useQuery } from "@tanstack/react-query"; +import { useTRPC } from "@karakeep/shared-react/trpc"; + /** * This component is used to address a confusion when the JWT token exists but the user no longer exists in the database. * So this component synchronusly checks if the user is still valid and if not, signs out the user. -- cgit v1.2.3-70-g09d2