|
@ -23,6 +23,7 @@ import TrackPage from 'analytics/TrackPage' |
|
|
import Spoiler from 'components/base/Spoiler' |
|
|
import Spoiler from 'components/base/Spoiler' |
|
|
import CryptoCurrencyIcon from 'components/CryptoCurrencyIcon' |
|
|
import CryptoCurrencyIcon from 'components/CryptoCurrencyIcon' |
|
|
import Box from 'components/base/Box' |
|
|
import Box from 'components/base/Box' |
|
|
|
|
|
import Space from 'components/base/Space' |
|
|
import Button from 'components/base/Button' |
|
|
import Button from 'components/base/Button' |
|
|
import Input from 'components/base/Input' |
|
|
import Input from 'components/base/Input' |
|
|
import Select from 'components/base/Select' |
|
|
import Select from 'components/base/Select' |
|
@ -203,7 +204,6 @@ class AccountSettingRenderBody extends PureComponent<Props, State> { |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<ModalBody |
|
|
<ModalBody |
|
|
noScroll |
|
|
|
|
|
onClose={onClose} |
|
|
onClose={onClose} |
|
|
title={t('account.settings.title')} |
|
|
title={t('account.settings.title')} |
|
|
render={() => ( |
|
|
render={() => ( |
|
@ -266,8 +266,7 @@ class AccountSettingRenderBody extends PureComponent<Props, State> { |
|
|
) : null} |
|
|
) : null} |
|
|
<Spoiler textTransform title={t('account.settings.advancedLogs')}> |
|
|
<Spoiler textTransform title={t('account.settings.advancedLogs')}> |
|
|
<SyncAgo date={account.lastSyncDate} /> |
|
|
<SyncAgo date={account.lastSyncDate} /> |
|
|
<textarea |
|
|
<div |
|
|
readOnly |
|
|
|
|
|
style={{ |
|
|
style={{ |
|
|
userSelect: 'text', |
|
|
userSelect: 'text', |
|
|
border: '1px dashed #f9f9f9', |
|
|
border: '1px dashed #f9f9f9', |
|
@ -275,13 +274,16 @@ class AccountSettingRenderBody extends PureComponent<Props, State> { |
|
|
color: '#000', |
|
|
color: '#000', |
|
|
fontFamily: 'monospace', |
|
|
fontFamily: 'monospace', |
|
|
fontSize: '10px', |
|
|
fontSize: '10px', |
|
|
height: 200, |
|
|
|
|
|
outline: 'none', |
|
|
outline: 'none', |
|
|
padding: '20px', |
|
|
padding: '20px', |
|
|
width: '100%', |
|
|
width: '100%', |
|
|
|
|
|
whiteSpace: 'pre-wrap', |
|
|
|
|
|
wordWrap: 'break-word', |
|
|
|
|
|
overflow: 'auto', |
|
|
}} |
|
|
}} |
|
|
value={JSON.stringify(usefulData, null, 2)} |
|
|
> |
|
|
/> |
|
|
{JSON.stringify(usefulData, null, 2)} |
|
|
|
|
|
</div> |
|
|
</Spoiler> |
|
|
</Spoiler> |
|
|
<ConfirmModal |
|
|
<ConfirmModal |
|
|
analyticsName="RemoveAccount" |
|
|
analyticsName="RemoveAccount" |
|
@ -294,6 +296,7 @@ class AccountSettingRenderBody extends PureComponent<Props, State> { |
|
|
subTitle={t('common.areYouSure')} |
|
|
subTitle={t('common.areYouSure')} |
|
|
desc={t('settings.removeAccountModal.desc')} |
|
|
desc={t('settings.removeAccountModal.desc')} |
|
|
/> |
|
|
/> |
|
|
|
|
|
<Space of={20} /> |
|
|
</Fragment> |
|
|
</Fragment> |
|
|
)} |
|
|
)} |
|
|
renderFooter={() => ( |
|
|
renderFooter={() => ( |
|
|