aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/template.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/template.js')
-rw-r--r--ui/app/components/template.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/ui/app/components/template.js b/ui/app/components/template.js
index 9e4eca20f..b6ed8eaa0 100644
--- a/ui/app/components/template.js
+++ b/ui/app/components/template.js
@@ -4,16 +4,15 @@ const inherits = require('util').inherits
module.exports = NewComponent
-
inherits(NewComponent, Component)
-function NewComponent() {
+function NewComponent () {
Component.call(this)
}
-NewComponent.prototype.render = function() {
- var state = this.props
+NewComponent.prototype.render = function () {
+ const props = this.props
return (
- h('span', 'Placeholder component')
+ h('span', props.message)
)
}