👌 fix 0px, anonymous function and /mobile endpoint
This commit is contained in:
parent
d7106fedef
commit
8ec5ab9208
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ const ActionStrip = ({ actions }) => (
|
|||
icon={icon}
|
||||
aria-label={aria}
|
||||
key={`bottom-bar-${aria}`}
|
||||
onClick={() => action()}
|
||||
onClick={action}
|
||||
/>))}
|
||||
</BottomBarContent>);
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ const HeaderDiv = styled.div`
|
|||
|
||||
.editor__unsaved-changes svg {
|
||||
width: ${remSize(16)};
|
||||
padding: 0px;
|
||||
padding: 0;
|
||||
vertical-align: top
|
||||
}
|
||||
`;
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue