Fix ts-ignore for Trans component (#126)
This commit is contained in:
parent
dd3ee80349
commit
6538e71a01
@ -104,8 +104,7 @@ class Unlock extends React.PureComponent<Props, State> {
|
||||
<div className='toolbox--Unlock-Content' key='content'>
|
||||
<div className='expanded'>
|
||||
<p>
|
||||
// @ts-ignore ok, Trans def seems wrong?
|
||||
<Trans i18nkey='unlock.info'>
|
||||
<Trans i18nKey='unlock.info'>
|
||||
You are about to unlock your account <span className='code'>{address}</span> to allow for the signing of messages.
|
||||
</Trans>
|
||||
</p>
|
||||
|
||||
@ -62,8 +62,7 @@ class Extrinsic extends React.PureComponent<Props> {
|
||||
<div className='ui--signer-Signer-Decoded'>
|
||||
<div className='expanded'>
|
||||
<p>
|
||||
// @ts-ignore weird... the attribute doesn't exist, check base definitions
|
||||
<Trans i18nkey='decoded.short'>
|
||||
<Trans i18nKey='decoded.short'>
|
||||
You are about to sign a message from <span className='code'>{from}</span> calling <span className='code'>{section}.{method}</span> with an index of <span className='code'>{nonce.toString()}</span>
|
||||
</Trans>
|
||||
</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user