👌 clean up comments and remove css important directive

This commit is contained in:
ghalestrilo 2020-06-15 14:18:25 -03:00
parent cdf11971c4
commit 2084991290
2 changed files with 1 additions and 7 deletions

View file

@ -10,7 +10,7 @@ const textColor = prop('primaryTextColor');
const Header = styled.div`
width: 100%;
background-color: ${background} !important;
background-color: ${background};
color: ${textColor};
padding-left: ${remSize(32)};
`;

View file

@ -25,12 +25,6 @@ const onRouteChange = (store) => {
store.dispatch(stopSketch());
};
// TODO: Investigate using react-router for this switch
// const ignoreMobile = () => window.location.search.substring(1).includes('ignoremobile');
// const isMobile = () => window.innerWidth <= 760;
// const IDEView = isMobile() && !ignoreMobile() ? IDEViewMobileScreen : IDEViewScreen;
// How to use URL as a prop?
const routes = store => (
<Route path="/" component={App} onChange={() => { onRouteChange(store); }}>
<IndexRoute component={IDEView} onEnter={checkAuth(store)} />