Support both versions.

This commit is contained in:
Tomasz Drwięga
2017-10-17 18:07:21 +02:00
parent 0f8fb62581
commit 304b067417
10 changed files with 63 additions and 65 deletions

View File

@@ -28,8 +28,6 @@ import SectionList from '@parity/ui/SectionList';
import DappsStore from '@parity/shared/mobx/dappsStore';
import walletVersion1 from '../v1.json';
import styles from './dapps.css';
@observer
@@ -87,7 +85,6 @@ class Dapps extends Component {
/>
}
>
{ this.renderHardcodedDapps() }
{ this.renderList(this.store.visibleViews) }
{ this.renderList(this.store.visibleLocal) }
{ this.renderList(this.store.visibleBuiltin) }
@@ -96,11 +93,6 @@ class Dapps extends Component {
);
}
renderHardcodedDapps () {
const dapp = [walletVersion1];
return this.renderList(dapp);
}
renderList (items, overlay) {
console.log(items);
return (