We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6882d5 commit 26343c8Copy full SHA for 26343c8
packages/playground/src/navigation.ts
@@ -34,7 +34,6 @@ export const hideNavForHandbook = (sandbox: Sandbox) => {
34
if (!nav) return
35
if (!nav.classList.contains("handbook")) return
36
37
- showCode(sandbox)
38
nav.style.display = "none"
39
40
const leftDrag = document.querySelector(".playground-dragbar.left") as HTMLElement
@@ -43,6 +42,8 @@ export const hideNavForHandbook = (sandbox: Sandbox) => {
43
42
const story = document.getElementById("editor-container")
44
const possibleButtonToRemove = story?.querySelector("button")
45
if (story && possibleButtonToRemove) story.removeChild(possibleButtonToRemove)
+
46
+ showCode(sandbox)
47
}
48
49
/**
0 commit comments