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/mobile/app/dashboard/lists/[slug]/edit.tsx | 2 +- apps/mobile/app/dashboard/lists/[slug]/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/mobile/app/dashboard/lists') diff --git a/apps/mobile/app/dashboard/lists/[slug]/edit.tsx b/apps/mobile/app/dashboard/lists/[slug]/edit.tsx index e0654722..c1103b4d 100644 --- a/apps/mobile/app/dashboard/lists/[slug]/edit.tsx +++ b/apps/mobile/app/dashboard/lists/[slug]/edit.tsx @@ -7,10 +7,10 @@ import FullPageSpinner from "@/components/ui/FullPageSpinner"; import { Input } from "@/components/ui/Input"; import { Text } from "@/components/ui/Text"; import { useToast } from "@/components/ui/Toast"; -import { useTRPC } from "@/lib/trpc"; import { useQuery } from "@tanstack/react-query"; import { useEditBookmarkList } from "@karakeep/shared-react/hooks/lists"; +import { useTRPC } from "@karakeep/shared-react/trpc"; const EditListPage = () => { const { slug: listId } = useLocalSearchParams<{ slug?: string | string[] }>(); diff --git a/apps/mobile/app/dashboard/lists/[slug]/index.tsx b/apps/mobile/app/dashboard/lists/[slug]/index.tsx index 97f797c6..763df65e 100644 --- a/apps/mobile/app/dashboard/lists/[slug]/index.tsx +++ b/apps/mobile/app/dashboard/lists/[slug]/index.tsx @@ -5,11 +5,11 @@ import UpdatingBookmarkList from "@/components/bookmarks/UpdatingBookmarkList"; import FullPageError from "@/components/FullPageError"; import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView"; import FullPageSpinner from "@/components/ui/FullPageSpinner"; -import { useTRPC } from "@/lib/trpc"; import { MenuView } from "@react-native-menu/menu"; import { useMutation, useQuery } from "@tanstack/react-query"; import { Ellipsis } from "lucide-react-native"; +import { useTRPC } from "@karakeep/shared-react/trpc"; import { ZBookmarkList } from "@karakeep/shared/types/lists"; export default function ListView() { -- cgit v1.2.3-70-g09d2