Skip to content

Commit d756396

Browse files
committed
Remove logs
1 parent bfb1782 commit d756396

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/next.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)