aboutsummaryrefslogtreecommitdiffstats
path: root/apps/browser-extension/src/utils
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-30 16:26:16 +0000
committerMohamedBassem <me@mbassem.com>2024-03-30 16:26:16 +0000
commit46b78eaac30be26fe40520e97786563344af8403 (patch)
treec4c0e1ae1d3d21a6f1fbf5f44f68e99243bbb5d3 /apps/browser-extension/src/utils
parent853ed13450b3a0d92cba144cc0dfd0696e7c810c (diff)
downloadkarakeep-46b78eaac30be26fe40520e97786563344af8403.tar.zst
format: Add missing lint and format, and format the entire repo
Diffstat (limited to 'apps/browser-extension/src/utils')
-rw-r--r--apps/browser-extension/src/utils/providers.tsx7
-rw-r--r--apps/browser-extension/src/utils/trpc.ts1
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/browser-extension/src/utils/providers.tsx b/apps/browser-extension/src/utils/providers.tsx
index d20f2512..7b14b22c 100644
--- a/apps/browser-extension/src/utils/providers.tsx
+++ b/apps/browser-extension/src/utils/providers.tsx
@@ -1,10 +1,11 @@
+import { useEffect, useState } from "react";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { httpBatchLink } from "@trpc/client";
-import { useEffect, useState } from "react";
-import { api } from "./trpc";
-import usePluginSettings, { getPluginSettings } from "./settings";
import superjson from "superjson";
+import usePluginSettings, { getPluginSettings } from "./settings";
+import { api } from "./trpc";
+
function getTRPCClient(address: string) {
return api.createClient({
links: [
diff --git a/apps/browser-extension/src/utils/trpc.ts b/apps/browser-extension/src/utils/trpc.ts
index da21a55a..9b025df1 100644
--- a/apps/browser-extension/src/utils/trpc.ts
+++ b/apps/browser-extension/src/utils/trpc.ts
@@ -1,4 +1,5 @@
import { createTRPCReact } from "@trpc/react-query";
+
import type { AppRouter } from "@hoarder/trpc/routers/_app";
export const api = createTRPCReact<AppRouter>();