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/utils/providers.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

diff --git a/packages/browser-extension/src/utils/providers.tsx b/packages/browser-extension/src/utils/providers.tsx
index c11331f0..cf3ca804 100644
--- a/packages/browser-extension/src/utils/providers.tsx
+++ b/packages/browser-extension/src/utils/providers.tsx
@@ -10,12 +10,11 @@ export function Providers({ children }: { children: React.ReactNode }) {
   const [queryClient] = useState(() => new QueryClient());
 
   const getTrpcClient = useCallback(() => {
-    console.log(settings);
     return api.createClient({
       links: [
         httpBatchLink({
           url: `${settings.address}/api/trpc`,
-          async headers() {
+          headers() {
             return {
               Authorization: `Bearer ${settings.apiKey}`,
             };
-- 
cgit v1.2.3-70-g09d2

