Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 345 Bytes
@App = React.createClass
mixins: [Reflux.connect(pathStore)]
getInitialState: ->
loading: false
dirty: false
path: null
metadata: {}
markdown: ""
render: ->
mainPanel = unless @state.path
<Dashboard/>
else
<Editor/>
<div>
<AdminNavbar path={@state.path}/>
{mainPanel}
</div>