Skip to content

Commit 33848e2

Browse files
committed
🐛 fix missing files on sidebar
1 parent 09c8f77 commit 33848e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/components/mobile/ActionStrip.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const ActionStrip = ({ actions }) => (
3838

3939
ActionStrip.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

client/modules/IDE/pages/MobileIDEView.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)