From 04572a8e5081b1e4871e273cde9dbaaa44c52fe0 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Wed, 13 Mar 2024 21:43:44 +0000
Subject: structure: Create apps dir and copy tooling dir from t3-turbo repo

---
 apps/web/lib/trpc.tsx | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 apps/web/lib/trpc.tsx

(limited to 'apps/web/lib/trpc.tsx')

diff --git a/apps/web/lib/trpc.tsx b/apps/web/lib/trpc.tsx
new file mode 100644
index 00000000..79a2a9fe
--- /dev/null
+++ b/apps/web/lib/trpc.tsx
@@ -0,0 +1,5 @@
+"use client";
+import type { AppRouter } from "@hoarder/trpc/routers/_app";
+import { createTRPCReact } from "@trpc/react-query";
+
+export const api = createTRPCReact<AppRouter>();
-- 
cgit v1.2.3-70-g09d2

