From deba31ee010f785a9739fd4df8a64a3056c9593d Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Thu, 18 Apr 2024 10:01:45 +0100 Subject: refactor: Move the shared types to the shared package --- apps/web/components/dashboard/lists/AllListsView.tsx | 2 +- apps/web/components/dashboard/lists/DeleteListButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/web/components/dashboard/lists') diff --git a/apps/web/components/dashboard/lists/AllListsView.tsx b/apps/web/components/dashboard/lists/AllListsView.tsx index 4159bc14..00e76a23 100644 --- a/apps/web/components/dashboard/lists/AllListsView.tsx +++ b/apps/web/components/dashboard/lists/AllListsView.tsx @@ -7,7 +7,7 @@ import { api } from "@/lib/trpc"; import { keepPreviousData } from "@tanstack/react-query"; import { Plus } from "lucide-react"; -import type { ZBookmarkList } from "@hoarder/trpc/types/lists"; +import type { ZBookmarkList } from "@hoarder/shared/types/lists"; function ListItem({ name, diff --git a/apps/web/components/dashboard/lists/DeleteListButton.tsx b/apps/web/components/dashboard/lists/DeleteListButton.tsx index ee2a9ec7..774b79ac 100644 --- a/apps/web/components/dashboard/lists/DeleteListButton.tsx +++ b/apps/web/components/dashboard/lists/DeleteListButton.tsx @@ -8,7 +8,7 @@ import { toast } from "@/components/ui/use-toast"; import { api } from "@/lib/trpc"; import { Trash2 } from "lucide-react"; -import type { ZBookmarkList } from "@hoarder/trpc/types/lists"; +import type { ZBookmarkList } from "@hoarder/shared/types/lists"; export default function DeleteListButton({ list }: { list: ZBookmarkList }) { const router = useRouter(); -- cgit v1.2.3-70-g09d2