fix(techdocs): remove comment about implementation details

Signed-off-by: Gabriel Testault <gabriel.testault@goto.com>
This commit is contained in:
Gabriel Testault
2023-01-10 12:59:52 +01:00
parent c8e09cc383
commit cb5a4d4849
@@ -24,7 +24,6 @@ export const scrollIntoAnchor = (): Transformer => {
function handleShadowDomStyleLoad() {
if (window.location.hash) {
const hash = window.location.hash.slice(1);
// fix invalid selector error for anchor starting with number
dom?.querySelector(`[id="${hash}"]`)?.scrollIntoView();
}
dom.removeEventListener(