File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const ActionStrip = ({ actions }) => (
3838
3939ActionStrip . propTypes = {
4040 actions : PropTypes . arrayOf ( PropTypes . shape ( {
41- icon : PropTypes . element . isRequired ,
41+ icon : PropTypes . any ,
4242 aria : PropTypes . string . isRequired ,
4343 action : PropTypes . func . isRequired ,
4444 inverted : PropTypes . bool
Original file line number Diff line number Diff line change @@ -183,7 +183,6 @@ const MobileIDEView = (props) => {
183183 const { consoleIsExpanded } = ide ;
184184 const { name : filename } = selectedFile ;
185185
186-
187186 // Force state reset
188187 useEffect ( clearPersistedState , [ ] ) ;
189188 useEffect ( ( ) => {
@@ -338,6 +337,7 @@ function mapStateToProps(state) {
338337 state . files . find ( file => file . name === 'sketch.js' ) ||
339338 state . files . find ( file => file . name !== 'root' ) ,
340339 ide : state . ide ,
340+ files : state . files ,
341341 unsavedChanges : state . ide . unsavedChanges ,
342342 preferences : state . preferences ,
343343 user : state . user ,
You can’t perform that action at this time.
0 commit comments