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) {
108
108
[ colorSchemeKey ] : colorScheme ,
109
109
...props
110
110
} : AppProps & Record < typeof colorSchemeKey , ColorScheme | undefined > ) {
111
- console . log ( `AppWithDsfr: ${ colorScheme } ` ) ;
112
-
113
111
if ( colorScheme === undefined ) {
114
112
colorScheme = "light" ;
115
113
}
@@ -193,8 +191,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
193
191
} ) ( ) ;
194
192
}
195
193
196
- console . log ( `AppWithDsfr.getInitialProps ${ colorScheme } ` ) ;
197
-
198
194
return { ...initialProps , colorScheme } ;
199
195
} ;
200
196
}
@@ -250,8 +246,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
250
246
251
247
const initialProps = await super_getInitialProps ( documentContext ) ;
252
248
253
- console . log ( `Document.getInitialProps ${ colorScheme } ` ) ;
254
-
255
249
return { ...initialProps , [ colorSchemeKey ] : colorScheme } ;
256
250
} ;
257
251
}
@@ -260,8 +254,6 @@ export function createDsfrNextIntegrationApi(params: Params) {
260
254
const { [ colorSchemeKey ] : colorScheme } = props as DocumentProps &
261
255
Record < typeof colorSchemeKey , ColorScheme | undefined > ;
262
256
263
- console . log ( `getColorSchemeHtmlAttributes ${ colorScheme } ` ) ;
264
-
265
257
if ( colorScheme === undefined ) {
266
258
return { } ;
267
259
}
You can’t perform that action at this time.
0 commit comments