From 6538e71a0151c96b4e8f6eb46e3a3df40992e79d Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 5 Jul 2018 15:25:15 +0200 Subject: [PATCH] Fix ts-ignore for Trans component (#126) --- packages/app-toolbox/src/Unlock.tsx | 3 +-- packages/ui-signer/src/Extrinsic.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/app-toolbox/src/Unlock.tsx b/packages/app-toolbox/src/Unlock.tsx index c94a81669b..e9be437715 100644 --- a/packages/app-toolbox/src/Unlock.tsx +++ b/packages/app-toolbox/src/Unlock.tsx @@ -104,8 +104,7 @@ class Unlock extends React.PureComponent {

- // @ts-ignore ok, Trans def seems wrong? - + You are about to unlock your account {address} to allow for the signing of messages.

diff --git a/packages/ui-signer/src/Extrinsic.tsx b/packages/ui-signer/src/Extrinsic.tsx index 181b068f69..99d5623004 100644 --- a/packages/ui-signer/src/Extrinsic.tsx +++ b/packages/ui-signer/src/Extrinsic.tsx @@ -62,8 +62,7 @@ class Extrinsic extends React.PureComponent {

- // @ts-ignore weird... the attribute doesn't exist, check base definitions - + You are about to sign a message from {from} calling {section}.{method} with an index of {nonce.toString()}