Skip to content

Commit 47d144a

Browse files
[#1698] Fix 'X is defined but never used' warning on a local machine
1 parent 85c8441 commit 47d144a

File tree

18 files changed

+7
-27
lines changed

18 files changed

+7
-27
lines changed

client/components/Dropdown.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
3-
import { Link } from 'react-router';
43
import styled from 'styled-components';
5-
import { remSize, prop, common } from '../theme';
4+
import { remSize, prop } from '../theme';
65
import IconButton from './mobile/IconButton';
7-
import Button from '../common/Button';
86

97
const DropdownWrapper = styled.ul`
108
background-color: ${prop('Modal.background')};

client/components/mobile/Explorer.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { useTranslation } from 'react-i18next';
3-
import styled from 'styled-components';
43
import PropTypes from 'prop-types';
54
import Sidebar from './Sidebar';
65
import ConnectedFileNode from '../../modules/IDE/components/FileNode';

client/components/mobile/Footer.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import React from 'react';
21
import styled from 'styled-components';
3-
import { prop, grays } from '../../theme';
2+
import { prop } from '../../theme';
43

54

65
const background = prop('MobilePanel.default.background');

client/components/mobile/IDEWrapper.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import styled from 'styled-components';
32
import { remSize } from '../../theme';
43

client/components/mobile/Sidebar.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
3-
import { Link } from 'react-router';
43
import styled from 'styled-components';
5-
import { remSize, prop, common } from '../../theme';
4+
import { remSize, prop, } from '../../theme';
65
import Header from './Header';
76
import IconButton from './IconButton';
87
import { ExitIcon } from '../../common/icons';

client/components/mobile/Tab.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import styled from 'styled-components';
32
import { Link } from 'react-router';
43
import { prop, remSize } from '../../theme';

client/components/mobile/TabSwitcher.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import React from 'react';
21
import styled from 'styled-components';
32

4-
import { prop, remSize } from '../../theme';
3+
import { prop, } from '../../theme';
54

65
export default styled.div`
76
display: flex;

client/i18n.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import i18n from 'i18next';
22
import { initReactI18next } from 'react-i18next';
3-
import LanguageDetector from 'i18next-browser-languagedetector';
43
import Backend from 'i18next-http-backend';
54
import { enUS, es, ja } from 'date-fns/locale';
65

client/index.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import configureStore from './store';
88
import routes from './routes';
99
import ThemeProvider from './modules/App/components/ThemeProvider';
1010
import Loader from './modules/App/components/loader';
11-
import i18n from './i18n';
1211

1312
require('./styles/main.scss');
1413

client/modules/IDE/components/PreviewFrame.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import loopProtect from 'loop-protect';
88
import { JSHINT } from 'jshint';
99
import decomment from 'decomment';
1010
import classNames from 'classnames';
11-
import { bindActionCreators } from 'redux';
1211
import { connect } from 'react-redux';
1312
import { Decode } from 'console-feed';
1413
import { getBlobUrl } from '../actions/files';

0 commit comments

Comments
 (0)