Skip to content

Commit 8ec5ab9

Browse files
committed
👌 fix 0px, anonymous function and /mobile endpoint
1 parent d7106fe commit 8ec5ab9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

client/components/mobile/ActionStrip.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const ActionStrip = ({ actions }) => (
3232
icon={icon}
3333
aria-label={aria}
3434
key={`bottom-bar-${aria}`}
35-
onClick={() => action()}
35+
onClick={action}
3636
/>))}
3737
</BottomBarContent>);
3838

client/components/mobile/Header.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const HeaderDiv = styled.div`
3838
3939
.editor__unsaved-changes svg {
4040
width: ${remSize(16)};
41-
padding: 0px;
41+
padding: 0;
4242
vertical-align: top
4343
}
4444
`;

client/modules/IDE/actions/project.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export function saveProject(selectedFile = null, autosave = false, mobile = fals
188188

189189
dispatch(setNewProject(synchedProject));
190190
dispatch(setUnsavedChanges(false));
191-
browserHistory.push(`${mobile ? '/mobile' : ''}/${response.data.user.username}/sketches/${response.data.id}`);
191+
browserHistory.push(`/${response.data.user.username}/sketches/${response.data.id}`);
192192

193193
if (hasChanges) {
194194
dispatch(setUnsavedChanges(true));

0 commit comments

Comments
 (0)