add comment

This commit is contained in:
Simon Knott 2024-09-16 17:58:12 +02:00
parent 2e37a9e131
commit 6525e23c9d
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -1038,6 +1038,7 @@ export class Recorder {
];
this.highlight.install();
// some frameworks erase the DOM on hydration, so periodically ensure that the highlighter is installed
const recreationInterval = setInterval(() => {
this.highlight.install();
}, 500);