Skip to content

Commit 7502df7

Browse files
fix quickopen and theme
1 parent 2ed9f7a commit 7502df7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/app/src/app/components/CodeEditor/VSCode/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import './icon-theme.css';
2+
import './workbench-theme.css';
3+
14
import getTemplate from '@codesandbox/common/lib/templates';
25
import getUI from '@codesandbox/common/lib/templates/configuration/ui';
36
import theme from '@codesandbox/common/lib/theme';
@@ -10,9 +13,6 @@ import { ThemeProvider } from 'styled-components';
1013
import { Configuration } from './Configuration';
1114
import { Container, GlobalStyles } from './elements';
1215

13-
import './icon-theme.css';
14-
import './workbench-theme.css';
15-
1616
export 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
);

packages/app/src/app/pages/Sandbox/Editor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(() => {

0 commit comments

Comments
 (0)