Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2203 from ethcore/jr-registry-remove-owner
Browse files Browse the repository at this point in the history
registry dapp: remove owner
  • Loading branch information
jacogr authored Sep 20, 2016
2 parents 412762d + 22fd677 commit 7b57a06
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 49 deletions.
7 changes: 7 additions & 0 deletions js/src/dapps/registry/Application/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@
font-size: 200%;
text-transform: uppercase;
}

.address {
margin-bottom: 0;
padding: 1rem;
font-size: 80%;
background-color: #f0f0f0;
}
10 changes: 5 additions & 5 deletions js/src/dapps/registry/Application/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Accounts from '../accounts';
import Lookup from '../Lookup';
import Register from '../register';
import Events from '../events';
import Status from '../Status';

export default class Application extends Component {
static childContextTypes = { muiTheme: PropTypes.object };
Expand All @@ -22,7 +21,6 @@ export default class Application extends Component {
actions: PropTypes.object.isRequired,
accounts: PropTypes.object.isRequired,
contract: PropTypes.object.isRequired,
owner: PropTypes.string.isRequired,
fee: PropTypes.object.isRequired,
lookup: PropTypes.object.isRequired,
events: PropTypes.array.isRequired,
Expand All @@ -33,7 +31,7 @@ export default class Application extends Component {
const {
actions,
accounts,
contract, owner, fee,
contract, fee,
lookup,
events,
register
Expand All @@ -45,12 +43,14 @@ export default class Application extends Component {
<h1>RΞgistry</h1>
<Accounts { ...accounts } actions={ actions.accounts } />
</div>
{ contract && fee && owner ? (
{ contract && fee ? (
<div>
<Lookup { ...lookup } actions={ actions.lookup } />
<Register { ...register } fee={ fee } actions={ actions.register } />
<Events { ...events } actions={ actions.events } />
<Status address={ contract.address } owner={ owner } />
<p className={ styles.address }>
The Registry is provided by the contract at <code>{ contract.address }.</code>
</p>
</div>
) : (
<CircularProgress size={ 1 } />
Expand Down
1 change: 0 additions & 1 deletion js/src/dapps/registry/Status/index.js

This file was deleted.

21 changes: 0 additions & 21 deletions js/src/dapps/registry/Status/status.css

This file was deleted.

22 changes: 0 additions & 22 deletions js/src/dapps/registry/Status/status.js

This file was deleted.

0 comments on commit 7b57a06

Please sign in to comment.