Browse Source

Revert "Stop using JSX for App component"

This reverts commit 06587de313.
master
Josh Habdas 6 years ago
parent
commit
fbbd25b8e8
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      app/components/App.cjsx

app/components/App.coffee → app/components/App.cjsx View File

@ -2,10 +2,9 @@ ThreadSection = require("./ThreadSection")
MessageSection = require("./MessageSection")
RouteHandler = Exim.Router.RouteHandler
{div} = Exim.DOM
module.exports = Exim.createView
render: ->
div className="chatapp",
ThreadSection()
RouteHandler()
<div className="chatapp">
<ThreadSection />
<RouteHandler />
</div>

Loading…
Cancel
Save