Browse Source

pioneer: javascript playground fix linter errors

Mokhtar Naamani 4 years ago
parent
commit
bab8be131f
1 changed files with 3 additions and 5 deletions
  1. 3 5
      pioneer/packages/app-js/src/Playground.tsx

+ 3 - 5
pioneer/packages/app-js/src/Playground.tsx

@@ -41,9 +41,8 @@ interface Injected {
   util: typeof util;
   window: null;
   joy: {
-    types: typeof joy_types,
-  },
-  decodeAddress: typeof uiKeyring.keyring.decodeAddress
+    types: typeof joy_types
+  }
 }
 
 interface Props extends AppProps, I18nProps, RouteComponentProps<{}> {
@@ -203,8 +202,7 @@ function Playground ({ className, history, match: { params: { base64 } }, t }: P
       window: null,
       joy: {
         types: joy_types
-      },
-      decodeAddress: uiKeyring.keyring.decodeAddress
+      }
     };
 
     await injectedRef.current.api.isReady;