summaryrefslogtreecommitdiff
path: root/ui/app/components
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-10-07 17:43:53 -0700
committerelijah <elijah@riseup.net>2016-10-07 17:43:53 -0700
commit23fc0e42f5f9bc5c6058783bb9482600b53a4616 (patch)
tree1c8891203ece992016233af3dba33a6f1fbebf33 /ui/app/components
parent11a3f3f06704c2bd4dd9d3723e1dad666507ab7f (diff)
[minor] ui - remove unused code
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/wizard/provider_select_stage.js2
-rw-r--r--ui/app/components/wizard/register_stage.js13
2 files changed, 1 insertions, 14 deletions
diff --git a/ui/app/components/wizard/provider_select_stage.js b/ui/app/components/wizard/provider_select_stage.js
index e33310b..2a342d9 100644
--- a/ui/app/components/wizard/provider_select_stage.js
+++ b/ui/app/components/wizard/provider_select_stage.js
@@ -146,7 +146,7 @@ export default class ProviderSelectStage extends React.Component {
<h3>{this.state.provider.domain}</h3>
<p>{this.state.provider.description}</p>
<p><b>Enrollment Policy:</b> {this.state.provider.enrollment_policy}</p>
- <p><b>Services</b>: {services}</p>
+ <p><b>Services</b>: {services.join(', ')}</p>
<p><b>Languages</b>: {languages.join(', ')}</p>
</div>
)
diff --git a/ui/app/components/wizard/register_stage.js b/ui/app/components/wizard/register_stage.js
index 9afa958..36fe21b 100644
--- a/ui/app/components/wizard/register_stage.js
+++ b/ui/app/components/wizard/register_stage.js
@@ -52,19 +52,6 @@ export default class RegisterStage extends React.Component {
}
render() {
- let info = null
- if (this.props.provider) {
- info = (
- <div>
- <h1 className="first">{this.props.provider.name}</h1>
- <h3>{this.props.provider.domain}</h3>
- <p>{this.props.provider.description}</p>
- <p><b>Enrollment Policy:</b> {this.props.provider.enrollment_policy}</p>
- <p><b>Services</b>: {this.props.provider.services}</p>
- <p><b>Languages</b>: {this.props.provider.languages.join(', ')}</p>
- </div>
- )
- }
let buttons = (
<div>
<ButtonToolbar className="pull-left">