Skip to content

Commit 965a2ef

Browse files
authored
Merge pull request #35 from mikeytown19/issue#34
Fix for issue #34.
2 parents 40cb91a + da9822b commit 965a2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/src/Editor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const Editor: FC<IProps> = ({ code, defaultTab, onChange, width }) => {
5454
tab.code && (
5555
<StyledTabPanel key={tab.value}>
5656
<EditorSetup
57-
code={tab.code}
57+
code={code[tab.value]}
5858
onChange={onChange}
5959
language={tab.value}
6060
/>

0 commit comments

Comments
 (0)