Skip to content

Commit 2084991

Browse files
committed
👌 clean up comments and remove css important directive
1 parent cdf1197 commit 2084991

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

client/modules/IDE/pages/IDEViewMobile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const textColor = prop('primaryTextColor');
1010

1111
const Header = styled.div`
1212
width: 100%;
13-
background-color: ${background} !important;
13+
background-color: ${background};
1414
color: ${textColor};
1515
padding-left: ${remSize(32)};
1616
`;

client/routes.jsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ const onRouteChange = (store) => {
2525
store.dispatch(stopSketch());
2626
};
2727

28-
// TODO: Investigate using react-router for this switch
29-
// const ignoreMobile = () => window.location.search.substring(1).includes('ignoremobile');
30-
// const isMobile = () => window.innerWidth <= 760;
31-
// const IDEView = isMobile() && !ignoreMobile() ? IDEViewMobileScreen : IDEViewScreen;
32-
33-
// How to use URL as a prop?
3428
const routes = store => (
3529
<Route path="/" component={App} onChange={() => { onRouteChange(store); }}>
3630
<IndexRoute component={IDEView} onEnter={checkAuth(store)} />

0 commit comments

Comments
 (0)