We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40cb91a + da9822b commit 965a2efCopy full SHA for 965a2ef
playground/src/Editor/index.tsx
@@ -54,7 +54,7 @@ const Editor: FC<IProps> = ({ code, defaultTab, onChange, width }) => {
54
tab.code && (
55
<StyledTabPanel key={tab.value}>
56
<EditorSetup
57
- code={tab.code}
+ code={code[tab.value]}
58
onChange={onChange}
59
language={tab.value}
60
/>
0 commit comments