Skip to content

Commit b68e3a7

Browse files
committed
1 parent 5c83d14 commit b68e3a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/modules/IDE/pages/IDEView.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,8 @@ IDEView.propTypes = {
671671
function mapStateToProps(state) {
672672
return {
673673
files: state.files,
674-
selectedFile: state.files.find(file => file.isSelectedFile),
674+
selectedFile: state.files.find(file => file.isSelectedFile) ||
675+
state.files.find(file => file.name === 'sketch.js'),
675676
htmlFile: getHTMLFile(state.files),
676677
ide: state.ide,
677678
preferences: state.preferences,

0 commit comments

Comments
 (0)