diff options
| author | MohamedBassem <me@mbassem.com> | 2024-04-18 10:01:45 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-04-18 10:01:45 +0100 |
| commit | deba31ee010f785a9739fd4df8a64a3056c9593d (patch) | |
| tree | 647499476af517b045a784591e0f8538551f69a4 /apps/web/components/dashboard/lists | |
| parent | 81fc4c45269fcd2b9cb9b6a001f8208f6b2b04a3 (diff) | |
| download | karakeep-deba31ee010f785a9739fd4df8a64a3056c9593d.tar.zst | |
refactor: Move the shared types to the shared package
Diffstat (limited to 'apps/web/components/dashboard/lists')
| -rw-r--r-- | apps/web/components/dashboard/lists/AllListsView.tsx | 2 | ||||
| -rw-r--r-- | apps/web/components/dashboard/lists/DeleteListButton.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
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(); |
