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 --- packages/shared-react/hooks/bookmark-grid-context.tsx | 2 +- packages/shared-react/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/shared-react') diff --git a/packages/shared-react/hooks/bookmark-grid-context.tsx b/packages/shared-react/hooks/bookmark-grid-context.tsx index 5814da12..7d71d28c 100644 --- a/packages/shared-react/hooks/bookmark-grid-context.tsx +++ b/packages/shared-react/hooks/bookmark-grid-context.tsx @@ -2,7 +2,7 @@ import { createContext, useContext } from "react"; -import type { ZGetBookmarksRequest } from "@hoarder/trpc/types/bookmarks"; +import type { ZGetBookmarksRequest } from "@hoarder/shared/types/bookmarks"; export const BookmarkGridContext = createContext< ZGetBookmarksRequest | undefined diff --git a/packages/shared-react/package.json b/packages/shared-react/package.json index 5e0a1d23..1c8f4a51 100644 --- a/packages/shared-react/package.json +++ b/packages/shared-react/package.json @@ -5,6 +5,7 @@ "private": true, "dependencies": { "@hoarder/trpc": "workspace:^0.1.0", + "@hoarder/shared": "workspace:^0.1.0", "@tanstack/react-query": "^5.24.8", "superjson": "^2.2.1", "@trpc/client": "11.0.0-next-beta.308" -- cgit v1.2.3-70-g09d2