Browse Source
Made the export only visible if experimental tooling flag is on
And removed the non-used tools section
gre-patch-1
Juan Cortes Ross
6 years ago
No known key found for this signature in database
GPG Key ID: 34A99C03E9455EB8
2 changed files with
2 additions and
27 deletions
-
src/components/SettingsPage/index.js
-
src/components/SettingsPage/sections/Tools.js
|
|
@ -16,7 +16,6 @@ import SectionCurrencies from './sections/Currencies' |
|
|
|
import SectionHelp from './sections/Help' |
|
|
|
import SectionAbout from './sections/About' |
|
|
|
import SectionExport from './sections/Export' |
|
|
|
import SectionTools from './sections/Tools' |
|
|
|
|
|
|
|
const mapStateToProps = state => ({ |
|
|
|
accountsCount: accountsSelector(state).length, |
|
|
@ -49,11 +48,6 @@ class SettingsPage extends PureComponent<Props, State> { |
|
|
|
label: <Trans i18nKey="settings.tabs.currencies" />, |
|
|
|
value: SectionCurrencies, |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'export', |
|
|
|
label: <Trans i18nKey="settings.tabs.export" />, |
|
|
|
value: SectionExport, |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'about', |
|
|
|
label: <Trans i18nKey="settings.tabs.about" />, |
|
|
@ -67,10 +61,10 @@ class SettingsPage extends PureComponent<Props, State> { |
|
|
|
] |
|
|
|
|
|
|
|
if (EXPERIMENTAL_TOOLS_SETTINGS) { |
|
|
|
this._items.push({ |
|
|
|
this._items.splice(2, 0, { |
|
|
|
key: 'tool', |
|
|
|
label: 'Experimental Tools', |
|
|
|
value: SectionTools, |
|
|
|
value: SectionExport, |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1,19 +0,0 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
/* eslint-disable react/jsx-no-literals */ |
|
|
|
|
|
|
|
import React, { PureComponent } from 'react' |
|
|
|
import { translate } from 'react-i18next' |
|
|
|
import Box, { Card } from 'components/base/Box' |
|
|
|
|
|
|
|
class TabProfile extends PureComponent<*, *> { |
|
|
|
render() { |
|
|
|
return ( |
|
|
|
<Card flow={3}> |
|
|
|
<Box horizontal>Nothing here</Box> |
|
|
|
</Card> |
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
export default translate()(TabProfile) |