diff --git a/src/components/InteractiveCode.astro b/src/components/InteractiveCode.astro index 3125473..b39811c 100644 --- a/src/components/InteractiveCode.astro +++ b/src/components/InteractiveCode.astro @@ -106,6 +106,7 @@ const codeHtml = highlightCode(trimAndDedent(code)); ip: 0, inst: ${steps}, done: false, + state: {}, }`} > thp code @@ -120,7 +121,9 @@ const codeHtml = highlightCode(trimAndDedent(code));
state
- x = 20 +
@@ -135,13 +138,14 @@ const codeHtml = highlightCode(trimAndDedent(code));