Skip to content
Permalink
Browse files

Disable paper wallet creation for shelley [ch2320]

  • Loading branch information
sarveshwar-singh committed Dec 3, 2019
1 parent b793db3 commit 5fc64a520cc11b8150b1c1ea544e7693aed0cd5e
Showing with 9 additions and 6 deletions.
  1. +9 −6 app/components/settings/menu/SettingsMenu.js
@@ -4,6 +4,7 @@ import { observer } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';
import SettingsMenuItem from './SettingsMenuItem';
import styles from './SettingsMenu.scss';
import environmnent from '../../../environment'
import { ROUTES } from '../../../routes-config';
import type { Theme } from '../../../themes';

@@ -59,12 +60,14 @@ export default class SettingsMenu extends Component<Props> {
className="general"
/>

<SettingsMenuItem
label={intl.formatMessage(messages.paperWallet)}
onClick={() => onItemClick(ROUTES.SETTINGS.PAPER_WALLET)}
active={isActiveItem(ROUTES.SETTINGS.PAPER_WALLET)}
className="paperWallet"
/>
{!environmnent.isShelley() &&
<SettingsMenuItem
label={intl.formatMessage(messages.paperWallet)}
onClick={() => onItemClick(ROUTES.SETTINGS.PAPER_WALLET)}
active={isActiveItem(ROUTES.SETTINGS.PAPER_WALLET)}
className="paperWallet"
/>
}

<SettingsMenuItem
label={intl.formatMessage(messages.wallet)}

0 comments on commit 5fc64a5

Please sign in to comment.
You can’t perform that action at this time.