We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ba4d739 + ed0aa06 commit caf8b7bCopy full SHA for caf8b7b
.devcontainer/devcontainer.json
@@ -22,7 +22,7 @@
22
"davidanson.vscode-markdownlint",
23
"bierner.markdown-preview-github-styles",
24
"streetsidesoftware.code-spell-checker",
25
- "hubwriter.open-reusable"
+ "docs.open-reusables"
26
],
27
28
// Use 'forwardPorts' to make a list of ports inside the container available locally.
components/article/ClientSideHighlightJS.tsx
@@ -66,6 +66,10 @@ export default function ClientSideHighlightJS() {
66
intersectionObserver.observe(element)
67
}
68
69
+
70
+ return () => {
71
+ intersectionObserver.disconnect()
72
+ }
73
}, [asPath])
74
75
return null
0 commit comments