Skip to content

Commit 2b8044e

Browse files
author
Ives van Hoorne
committed
Fix Current Module View updating
1 parent c0868ec commit 2b8044e

File tree

2 files changed

+1
-2
lines changed
  • packages/app/src

2 files changed

+1
-2
lines changed

packages/app/src/app/components/sandbox/CodeEditor/Monaco.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ export default class CodeEditor extends React.Component<Props, State> {
410410
if (
411411
this.editor &&
412412
this.getCode() !== nextProps.code &&
413+
this.props.code !== nextProps.code &&
413414
this.props.id === nextProps.id
414415
) {
415416
this.updateCode(nextProps.code);

packages/app/src/sandbox/status-screen/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import loadingHTML from './loading-screen.html';
66

7-
import SandboxError from '../errors/sandbox-error';
8-
97
type LoadingScreen = {
108
type: 'loading',
119
text: string,

0 commit comments

Comments
 (0)