From 06f9050a479608ee3df1f67b0bf8825a7b1451ed Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Wed, 12 Aug 2020 11:27:22 -0300 Subject: [PATCH] :recycle: dry up imports --- client/modules/IDE/pages/MobileIDEView.jsx | 74 ++++------------------ 1 file changed, 13 insertions(+), 61 deletions(-) diff --git a/client/modules/IDE/pages/MobileIDEView.jsx b/client/modules/IDE/pages/MobileIDEView.jsx index 0dcedb44..ad94d2a8 100644 --- a/client/modules/IDE/pages/MobileIDEView.jsx +++ b/client/modules/IDE/pages/MobileIDEView.jsx @@ -11,7 +11,6 @@ import { bindActionCreators } from 'redux'; import * as FileActions from '../actions/files'; import * as IDEActions from '../actions/ide'; import * as ProjectActions from '../actions/project'; -import * as EditorAccessibilityActions from '../actions/editorAccessibility'; import * as PreferencesActions from '../actions/preferences'; import * as UserActions from '../../User/actions'; import * as ToastActions from '../actions/toast'; @@ -74,14 +73,15 @@ const getNatOptions = (username = undefined) => const MobileIDEView = (props) => { const { - ide, project, selectedFile, user, params, + ide, project, selectedFile, user, params, unsavedChanges, stopSketch, startSketch, getProject, clearPersistedState } = props; const [tmController, setTmController] = useState(null); // eslint-disable-line const { username } = user; - const { unsavedChanges } = ide; + const { consoleIsExpanded } = ide; + const { name: filename } = selectedFile; const [triggerNavDropdown, NavDropDown] = useAsModal( {
{