diff --git a/client/components/mobile/ActionStrip.jsx b/client/components/mobile/ActionStrip.jsx index b8465477..4446d89f 100644 --- a/client/components/mobile/ActionStrip.jsx +++ b/client/components/mobile/ActionStrip.jsx @@ -32,7 +32,7 @@ const ActionStrip = ({ actions }) => ( icon={icon} aria-label={aria} key={`bottom-bar-${aria}`} - onClick={() => action()} + onClick={action} />))} ); diff --git a/client/components/mobile/Header.jsx b/client/components/mobile/Header.jsx index 993bf583..6492a44d 100644 --- a/client/components/mobile/Header.jsx +++ b/client/components/mobile/Header.jsx @@ -38,7 +38,7 @@ const HeaderDiv = styled.div` .editor__unsaved-changes svg { width: ${remSize(16)}; - padding: 0px; + padding: 0; vertical-align: top } `; diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index 9c15112a..05215579 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -188,7 +188,7 @@ export function saveProject(selectedFile = null, autosave = false, mobile = fals dispatch(setNewProject(synchedProject)); dispatch(setUnsavedChanges(false)); - browserHistory.push(`${mobile ? '/mobile' : ''}/${response.data.user.username}/sketches/${response.data.id}`); + browserHistory.push(`/${response.data.user.username}/sketches/${response.data.id}`); if (hasChanges) { dispatch(setUnsavedChanges(true));