👌 fix 0px, anonymous function and /mobile endpoint

This commit is contained in:
ghalestrilo 2020-08-28 15:02:07 -03:00
parent d7106fedef
commit 8ec5ab9208
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ const ActionStrip = ({ actions }) => (
icon={icon}
aria-label={aria}
key={`bottom-bar-${aria}`}
onClick={() => action()}
onClick={action}
/>))}
</BottomBarContent>);

View File

@ -38,7 +38,7 @@ const HeaderDiv = styled.div`
.editor__unsaved-changes svg {
width: ${remSize(16)};
padding: 0px;
padding: 0;
vertical-align: top
}
`;

View File

@ -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));