Support both versions.
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user