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.
1 parent 5ad3b26 commit 884f8cdCopy full SHA for 884f8cd
apps/docs/src/components/example/Example.astro
@@ -70,6 +70,9 @@
70
if (!exampleKey) {
71
delete exampleMainEl.dataset.showExample;
72
sourceButton.classList.add("hidden");
73
+
74
+ // Redirecting to the first example
75
+ window.location.href = `#${Object.keys(examples)[0]}`;
76
return;
77
}
78
const example = examples[exampleKey];
0 commit comments