🐛 fix missing files on sidebar
This commit is contained in:
parent
09c8f771b6
commit
33848e2434
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ const ActionStrip = ({ actions }) => (
|
|||
|
||||
ActionStrip.propTypes = {
|
||||
actions: PropTypes.arrayOf(PropTypes.shape({
|
||||
icon: PropTypes.element.isRequired,
|
||||
icon: PropTypes.any,
|
||||
aria: PropTypes.string.isRequired,
|
||||
action: PropTypes.func.isRequired,
|
||||
inverted: PropTypes.bool
|
||||
|
|
|
@ -183,7 +183,6 @@ const MobileIDEView = (props) => {
|
|||
const { consoleIsExpanded } = ide;
|
||||
const { name: filename } = selectedFile;
|
||||
|
||||
|
||||
// Force state reset
|
||||
useEffect(clearPersistedState, []);
|
||||
useEffect(() => {
|
||||
|
@ -338,6 +337,7 @@ function mapStateToProps(state) {
|
|||
state.files.find(file => file.name === 'sketch.js') ||
|
||||
state.files.find(file => file.name !== 'root'),
|
||||
ide: state.ide,
|
||||
files: state.files,
|
||||
unsavedChanges: state.ide.unsavedChanges,
|
||||
preferences: state.preferences,
|
||||
user: state.user,
|
||||
|
|
Loading…
Reference in a new issue