Skip to content

Commit 5a08f32

Browse files
committed
fix(sample-size-reporter): remove trailing commas in postMessage parameters
1 parent b6aa0e2 commit 5a08f32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sample-size-reporter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ export function initSampleSizeReporter(): void {
4646
const height = Math.max(
4747
document.documentElement.offsetHeight,
4848
document.body.offsetHeight,
49-
document.body.scrollHeight,
49+
document.body.scrollHeight
5050
);
5151
window.parent.postMessage(
5252
{ type: FIT_REPORT, height, width: reportWidth ? measureWidth() : undefined },
53-
hostOrigin,
53+
hostOrigin
5454
);
5555
};
5656

0 commit comments

Comments
 (0)