File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use client'
22
3- import { Suspense , useEffect , useState } from 'react'
3+ import { Suspense , useState } from 'react'
44
55import { CowAnalyticsProvider , initGtm } from '@cowprotocol/analytics'
66
@@ -14,15 +14,10 @@ import { ThemeProvider } from '../theme'
1414
1515import { WithLDProvider } from '@/components/WithLDProvider'
1616import GlobalStyles from '@/styles/global.styles'
17- import { environmentName } from '@/util/environment'
1817
1918const cowAnalytics = initGtm ( )
2019
2120export function Providers ( { children } : { children : React . ReactNode } ) : React . ReactNode {
22- useEffect ( ( ) => {
23- console . info ( '[cow-fi][environment]' , environmentName ?? 'unknown' )
24- } , [ ] )
25-
2621 return (
2722 < Suspense >
2823 < CacheProvider >
Original file line number Diff line number Diff line change @@ -6,10 +6,6 @@ import { createRoot } from 'react-dom/client'
66
77import ExplorerApp from './ExplorerApp'
88
9- import { environmentName } from '../utils/env'
10-
11- console . info ( '[explorer][environment]' , environmentName ?? 'unknown' )
12-
139const container = document . getElementById ( 'root' )
1410if ( container !== null ) {
1511 const root = createRoot ( container )
You can’t perform that action at this time.
0 commit comments