diff options
Diffstat (limited to 'packages/browser-extension/src/utils')
| -rw-r--r-- | packages/browser-extension/src/utils/providers.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
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}`, }; |
