Skip to content

Commit 1bdfd2d

Browse files
committed
Fix readme
1 parent 44e43fe commit 1bdfd2d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,11 @@ Example integration in the parent page:
8585
window.addEventListener("app-theme-changed", (event) => {
8686
setCoverageTheme(event.detail.theme); // "light" | "dark"
8787
});
88-
<\/script>
88+
</script>
8989
```
9090
9191
Inside the iframe, the selected theme is persisted in localStorage under the coverage-theme key and a coverage-theme-changed CustomEvent is dispatched on window so internal components can react to theme changes.
9292
93-
```
94-
9593
## Contributing
9694
9795
Fell free to report any bugs & share your ideas. PRs are welcome.

packages/reporter/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,11 @@ Example integration in the parent page:
8585
window.addEventListener("app-theme-changed", (event) => {
8686
setCoverageTheme(event.detail.theme); // "light" | "dark"
8787
});
88-
<\/script>
88+
</script>
8989
```
9090
9191
Inside the iframe, the selected theme is persisted in localStorage under the coverage-theme key and a coverage-theme-changed CustomEvent is dispatched on window so internal components can react to theme changes.
9292
93-
```
94-
9593
## Contributing
9694
9795
Fell free to report any bugs & share your ideas. PRs are welcome.

0 commit comments

Comments
 (0)