File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
components/CodeEditor/VSCode Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1+ import './icon-theme.css' ;
2+ import './workbench-theme.css' ;
3+
14import getTemplate from '@codesandbox/common/lib/templates' ;
25import getUI from '@codesandbox/common/lib/templates/configuration/ui' ;
36import theme from '@codesandbox/common/lib/theme' ;
@@ -10,9 +13,6 @@ import { ThemeProvider } from 'styled-components';
1013import { Configuration } from './Configuration' ;
1114import { Container , GlobalStyles } from './elements' ;
1215
13- import './icon-theme.css' ;
14- import './workbench-theme.css' ;
15-
1616export const VSCode : React . FunctionComponent = ( ) => {
1717 const { state, actions, effects } = useOvermind ( ) ;
1818 const containerEl = useRef ( null ) ;
@@ -66,7 +66,7 @@ export const VSCode: React.FunctionComponent = () => {
6666 ] ) ;
6767
6868 return (
69- < Container ref = { containerEl } >
69+ < Container id = "vscode-container" ref = { containerEl } >
7070 < GlobalStyles />
7171 </ Container >
7272 ) ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const ContentSplit: React.FC = () => {
3131 colors : { } ,
3232 vscodeTheme : codesandbox ,
3333 } ,
34- customVSCodeTheme : state . preferences . settings . customVSCodeTheme ,
34+ customVSCodeTheme : null ,
3535 } ) ;
3636
3737 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments