parent
df1219b47a
commit
d4cdd1b790
1 changed files with 2 additions and 1 deletions
|
@ -600,7 +600,8 @@ function mapStateToProps(state) {
|
|||
return {
|
||||
files: state.files,
|
||||
selectedFile: state.files.find(file => file.isSelectedFile) ||
|
||||
state.files.find(file => file.name === 'sketch.js'),
|
||||
state.files.find(file => file.name === 'sketch.js') ||
|
||||
state.files.find(file => file.name !== 'root'),
|
||||
htmlFile: getHTMLFile(state.files),
|
||||
ide: state.ide,
|
||||
preferences: state.preferences,
|
||||
|
|
Loading…
Reference in a new issue