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.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/app/components/template.js b/ui/app/components/template.js
index 9e4eca20f..a5203aec8 100644
--- a/ui/app/components/template.js
+++ b/ui/app/components/template.js
@@ -4,13 +4,12 @@ const inherits = require('util').inherits
module.exports = NewComponent
-
inherits(NewComponent, Component)
-function NewComponent() {
+function NewComponent () {
Component.call(this)
}
-NewComponent.prototype.render = function() {
+NewComponent.prototype.render = function () {
var state = this.props
return (