Display extension info for "create now" overlay (#1430)
* Display extension info for "create now" overlay * Revert banner sharing * Lint
This commit is contained in:
parent
d1fe789670
commit
7dd6930163
@ -7,7 +7,6 @@ import { ApiProps } from '@polkadot/ui-api/types';
|
||||
import { SubjectInfo } from '@polkadot/ui-keyring/observable/types';
|
||||
|
||||
import React from 'react';
|
||||
import { Trans } from 'react-i18next';
|
||||
import { Link } from 'react-router-dom';
|
||||
import styled from 'styled-components';
|
||||
import { withApi, withMulti, withObservable } from '@polkadot/ui-api';
|
||||
@ -60,16 +59,15 @@ class Accounts extends React.PureComponent<Props, State> {
|
||||
className={className}
|
||||
icon='users'
|
||||
>
|
||||
<Trans i18nKey='noAccounts'>
|
||||
You don't have any accounts. Some features are currently hidden and will only become available once you have accounts.
|
||||
{' '}
|
||||
<p>{t("You don't have any accounts. Some features are currently hidden and will only become available once you have accounts.")}</p>
|
||||
<p>
|
||||
<Link
|
||||
to = {{ pathname: '/accounts', state: { isCreateOpen: true } }}
|
||||
to='/accounts'
|
||||
onClick={this.onClose}
|
||||
>
|
||||
{t('Create an account now.')}
|
||||
</Link>
|
||||
</Trans>
|
||||
</p>
|
||||
</BaseOverlay>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user