From 56c5236245359987e7a729979de3892bbee70852 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Tue, 5 Mar 2024 16:30:31 +0000
Subject: extension: Show who the logged in user is in the extension options

---
 packages/browser-extension/src/providers.tsx | 30 ----------------------------
 1 file changed, 30 deletions(-)
 delete mode 100644 packages/browser-extension/src/providers.tsx

(limited to 'packages/browser-extension/src/providers.tsx')

diff --git a/packages/browser-extension/src/providers.tsx b/packages/browser-extension/src/providers.tsx
deleted file mode 100644
index a055f3d1..00000000
--- a/packages/browser-extension/src/providers.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
-import { httpBatchLink } from "@trpc/client";
-import React, { useState } from "react";
-import { trpc } from "./trpc";
-
-export function App() {
-  const [queryClient] = useState(() => new QueryClient());
-  const [trpcClient] = useState(() =>
-    trpc.createClient({
-      links: [
-        httpBatchLink({
-          url: "http://localhost:3000/trpc",
-          // You can pass any HTTP headers you wish here
-          async headers() {
-            return {
-              // authorization: getAuthCookie(),
-            };
-          },
-        }),
-      ],
-    }),
-  );
-  return (
-    <trpc.Provider client={trpcClient} queryClient={queryClient}>
-      <QueryClientProvider client={queryClient}>
-        {/* Your app here */}
-      </QueryClientProvider>
-    </trpc.Provider>
-  );
-}
-- 
cgit v1.2.3-70-g09d2

