diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index adf0529..d7bd68a 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -9,7 +9,6 @@ import { LayoutContent } from "@/components/layout/LayoutContent"; import { MiniKitProvider } from "@/providers/MiniKitProvider"; import { NotificationsProvider } from "@/providers/NotificationsProvider"; import { ThemeProvider } from "@/providers/ThemeProvider"; -import { WeglotProvider } from "@/providers/WeglotProvider"; const spaceGrotesk = Space_Grotesk({ subsets: ["latin"], @@ -40,10 +39,9 @@ export default function RootLayout({ children }: RootLayoutProps) { - - - - + + +
@@ -52,9 +50,8 @@ export default function RootLayout({ children }: RootLayoutProps) {
- - - + + ); diff --git a/apps/web/src/providers/WeglotProvider.tsx b/apps/web/src/providers/WeglotProvider.tsx deleted file mode 100644 index 679813c..0000000 --- a/apps/web/src/providers/WeglotProvider.tsx +++ /dev/null @@ -1,37 +0,0 @@ -'use client' - -import Script from 'next/script' -import type { ReactNode } from 'react' - -interface WeglotProviderProps { - children: ReactNode -} - -export function WeglotProvider({ children }: WeglotProviderProps) { - if (!process.env.NEXT_PUBLIC_WEGLOT_API_KEY) { - console.warn('Missing NEXT_PUBLIC_WEGLOT_API_KEY environment variable') - return <>{children} - } - - return ( - <> -