 
 peer.on "error", (error) ->
     alert error.message
+
+Noop = React.createClass
+    displayName: "Noop"
+
+    render: ->
+        (Dom.span null)
 
 Input = React.createClass
     displayName: "Input"

        render: ->
            (Dom.div null,
                (Navbar brandName: "Peer Chat", navbarItems: @props.navbarItems),
                (@state.currentComponent))

    mountNode = document.getElementById("react")
    React.renderComponent Root(routes: routes, navbarItems: navbarItems, defaultRoute: "/connect"), mountNode


        getInitialState: ->
            currentComponent: Connect()
            alert: Noop()

        componentDidMount: ->
            _.forEach @props.routes, (route) =>
