aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/lib/trpc.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-13 22:37:41 +0000
committerMohamed Bassem <me@mbassem.com>2024-03-14 16:40:45 +0000
commita03f1dc2ac25579df30e8cb59d2703110c3e564d (patch)
tree59315e73cd83dc391660071c70752cf23989b3da /apps/web/lib/trpc.tsx
parent04572a8e5081b1e4871e273cde9dbaaa44c52fe0 (diff)
downloadkarakeep-a03f1dc2ac25579df30e8cb59d2703110c3e564d.tar.zst
lint: Lint and format the entire repo with the new configs
Diffstat (limited to 'apps/web/lib/trpc.tsx')
-rw-r--r--apps/web/lib/trpc.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/lib/trpc.tsx b/apps/web/lib/trpc.tsx
index 79a2a9fe..99fdd8b5 100644
--- a/apps/web/lib/trpc.tsx
+++ b/apps/web/lib/trpc.tsx
@@ -1,5 +1,7 @@
"use client";
-import type { AppRouter } from "@hoarder/trpc/routers/_app";
+
import { createTRPCReact } from "@trpc/react-query";
+import type { AppRouter } from "@hoarder/trpc/routers/_app";
+
export const api = createTRPCReact<AppRouter>();