From 2c284531df00f6f47fffe04bd0fcb2bb239e7d6a Mon Sep 17 00:00:00 2001 From: Dominik Stumpf Date: Fri, 26 Jul 2024 19:16:14 +0200 Subject: [PATCH] chore: remove providers and account --- src/v2/components/Header/Header.tsx | 3 --- src/v2/components/Providers/Providers.tsx | 32 +++-------------------- 2 files changed, 3 insertions(+), 32 deletions(-) diff --git a/src/v2/components/Header/Header.tsx b/src/v2/components/Header/Header.tsx index b32aa8c806..77ba9a3951 100644 --- a/src/v2/components/Header/Header.tsx +++ b/src/v2/components/Header/Header.tsx @@ -1,12 +1,9 @@ "use client" - -import { Account } from "../Account" import { NavMenu } from "./NavMenu" const Header = () => (
-
) diff --git a/src/v2/components/Providers/Providers.tsx b/src/v2/components/Providers/Providers.tsx index 8295007a83..26664b2e00 100644 --- a/src/v2/components/Providers/Providers.tsx +++ b/src/v2/components/Providers/Providers.tsx @@ -1,24 +1,15 @@ "use client" - -import { FuelProvider } from "@fuels/react" -import { QueryClient, QueryClientProvider } from "@tanstack/react-query" +import { QueryClient } from "@tanstack/react-query" import { env } from "env" -import { fuelConfig } from "fuelConfig" import { useAtomValue } from "jotai" import { ThemeProvider } from "next-themes" import dynamic from "next/dynamic" -import { ReactNode, Suspense } from "react" +import { ReactNode } from "react" import { SWRConfig } from "swr" import { fetcherForSWR } from "utils/fetcher" import { shouldUseReCAPTCHAAtom } from "utils/recaptcha" -import { WagmiProvider } from "wagmi" -import { wagmiConfig } from "wagmiConfig" -import { AccountModal } from "../Account/components/AccountModal" -import { Web3ConnectionManager } from "../Web3ConnectionManager" import { Toaster } from "../ui/Toaster" import { TooltipProvider } from "../ui/Tooltip" -import { IntercomProvider } from "./IntercomProvider" -import { PostHogProvider } from "./PostHogProvider" const DynamicReCAPTCHA = dynamic(() => import("v2/components/ReCAPTCHA")) @@ -37,24 +28,7 @@ export function Providers({ children }: { children: ReactNode }) { disableTransitionOnChange > - - - - - - - {children} - - - - - - - - - - - + {children}