Skip to content

Commit cedd5ea

Browse files
add comments
1 parent c72f369 commit cedd5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_package/src/buildConsoleReplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ declare global {
1212
}
1313

1414
export function consoleReplay(customConsoleHistory: typeof console['history'] | undefined = undefined): string {
15+
// console.history is a global polyfill used in server rendering.
1516
const consoleHistory = customConsoleHistory ?? console.history;
1617

17-
// console.history is a global polyfill used in server rendering.
1818
// $FlowFixMe
1919
if (!(Array.isArray(consoleHistory))) {
2020
return '';

0 commit comments

Comments
 (0)