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 87dbaf3 commit 6876b2fCopy full SHA for 6876b2f
src/pages/playground/PlaygroundTabs.tsx
@@ -48,7 +48,9 @@ export const makeSubstVisualizerTabFrom = (
48
editorOutput &&
49
editorOutput.type === 'result' &&
50
editorOutput.value instanceof Array &&
51
- editorOutput.value[0] === Object(editorOutput.value[0])
+ editorOutput.value[0] === Object(editorOutput.value[0]) &&
52
+ // check if output is from stepper
53
+ 'ast' in editorOutput.value[0]
54
) {
55
return editorOutput.value;
56
} else {
0 commit comments