Skip to content

Commit 96b0138

Browse files
authored
Merge pull request #1744 from processing/chore/lint-warnings
[#1698] Remove lint warnings
2 parents 1712ffa + 4db9ae0 commit 96b0138

25 files changed

+23
-61
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/FloatingNav.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import PropTypes from 'prop-types';
33
import styled from 'styled-components';
44
import { remSize, prop } from '../../theme';
5-
import Button from '../../common/Button';
65
import IconButton from './IconButton';
76

87
const FloatingContainer = styled.div`

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
const background = prop('MobilePanel.default.background');
65
const textColor = prop('primaryTextColor');

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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';
11+
import './i18n';
1212

1313
require('./styles/main.scss');
1414

0 commit comments

Comments
 (0)