Commit ff42dc40 authored by Nicolas Delebecque's avatar Nicolas Delebecque
Browse files

Fixing linting. #1035

parent c8b129f5
Pipeline #375101 passed with stage
in 4 minutes and 9 seconds
......@@ -133,9 +133,7 @@ export default connect(
defaultValue={this.state.displayType}>
<option value="all">{$t('client.charts.by_category')}</option>
<option value="balance">{$t('client.charts.balance')}</option>
<option value="earnings">
{$t('client.charts.differences_all')}
</option>
<option value="earnings">{$t('client.charts.differences_all')}</option>
</select>
</Form.Input>
......
import React, { useCallback } from 'react';
import React, { useCallback } from 'react';
import { connect } from 'react-redux';
import { useHistory } from 'react-router-dom';
......
......@@ -7,7 +7,6 @@ import BackupParameters from './backup';
import CustomizationParameters from './customization';
import EmailsParameters from './emails';
import AdminSection from './admin';
import Charts from './charts';
import './settings.css';
......@@ -26,9 +25,6 @@ const SettingsComponents = () => {
<Route path={URL.settings.url('admin')}>
<AdminSection />
</Route>
<Route path={URL.settings.url('charts')}>
<Charts />
</Route>
<Redirect to={URL.settings.url('accounts')} push={false} />
</Switch>
);
......
......@@ -15,7 +15,7 @@ const SECTIONS = [
'settings',
];
const SETTINGS_SUBSECTIONS = ['backup', 'customization', 'emails', 'admin', 'charts'];
const SETTINGS_SUBSECTIONS = ['backup', 'customization', 'emails', 'admin'];
const URLs = {
duplicates: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment