Skip to content

Commit

Permalink
Merge pull request #35 from mikeytown19/issue#34
Browse files Browse the repository at this point in the history
Fix for issue #34.
  • Loading branch information
agneym authored Aug 19, 2021
2 parents 40cb91a + da9822b commit 965a2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/src/Editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Editor: FC<IProps> = ({ code, defaultTab, onChange, width }) => {
tab.code && (
<StyledTabPanel key={tab.value}>
<EditorSetup
code={tab.code}
code={code[tab.value]}
onChange={onChange}
language={tab.value}
/>
Expand Down

1 comment on commit 965a2ef

@mikeytown19
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested this on 0.7.1 and it's working.

Please sign in to comment.