File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
108108 [ colorSchemeKey ] : colorScheme ,
109109 ...props
110110 } : AppProps & Record < typeof colorSchemeKey , ColorScheme | undefined > ) {
111- console . log ( `AppWithDsfr: ${ colorScheme } ` ) ;
112-
113111 if ( colorScheme === undefined ) {
114112 colorScheme = "light" ;
115113 }
@@ -193,8 +191,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
193191 } ) ( ) ;
194192 }
195193
196- console . log ( `AppWithDsfr.getInitialProps ${ colorScheme } ` ) ;
197-
198194 return { ...initialProps , colorScheme } ;
199195 } ;
200196 }
@@ -250,8 +246,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
250246
251247 const initialProps = await super_getInitialProps ( documentContext ) ;
252248
253- console . log ( `Document.getInitialProps ${ colorScheme } ` ) ;
254-
255249 return { ...initialProps , [ colorSchemeKey ] : colorScheme } ;
256250 } ;
257251 }
@@ -260,8 +254,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
260254 const { [ colorSchemeKey ] : colorScheme } = props as DocumentProps &
261255 Record < typeof colorSchemeKey , ColorScheme | undefined > ;
262256
263- console . log ( `getColorSchemeHtmlAttributes ${ colorScheme } ` ) ;
264-
265257 if ( colorScheme === undefined ) {
266258 return { } ;
267259 }
You can’t perform that action at this time.
0 commit comments