Skip to content

Commit cd6122f

Browse files
committed
use new Report component
1 parent c914272 commit cd6122f

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

javascript/src/main.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import './styles.scss'
33
import { Envelope } from '@cucumber/messages'
44
import {
55
EnvelopesProvider,
6-
ExecutionSummary,
7-
FilteredDocuments,
8-
SearchBar,
6+
Report,
97
UrlSearchProvider,
108
} from '@cucumber/react-components'
119
import React from 'react'
@@ -23,11 +21,7 @@ root.render(
2321
<EnvelopesProvider envelopes={window.CUCUMBER_MESSAGES}>
2422
<UrlSearchProvider>
2523
<div id="report" className="html-formatter">
26-
<div className="html-formatter__header">
27-
<ExecutionSummary />
28-
<SearchBar />
29-
</div>
30-
<FilteredDocuments />
24+
<Report />
3125
</div>
3226
</UrlSearchProvider>
3327
</EnvelopesProvider>

javascript/src/styles.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ code {
3838
max-width: 1600px;
3939
min-height: 100vh;
4040
margin: 0 auto;
41-
42-
&__header {
43-
margin-bottom: 1.5rem;
44-
}
4541
}
4642

4743
@media all and (prefers-color-scheme: dark) {

0 commit comments

Comments
 (0)