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