From cc4b79768bbfaff236526a1a19643db894ed3918 Mon Sep 17 00:00:00 2001 From: Ruben Barilani Date: Wed, 27 Sep 2017 15:59:55 +0200 Subject: [PATCH] fix(nodejs-react): fix navigation rendering --- lib/browser/navigation/navigation.jsx | 1 - scripts/react.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/browser/navigation/navigation.jsx b/lib/browser/navigation/navigation.jsx index a9ec260..1dae966 100644 --- a/lib/browser/navigation/navigation.jsx +++ b/lib/browser/navigation/navigation.jsx @@ -5,7 +5,6 @@ const {SearchForm} = require('../search/search-form.jsx'); const {Navbar, Logo, SidebarToogle} = require('./navbar.jsx'); const searchLoad = require('../search/load'); - class Navigation extends React.Component { constructor (props) { super(props); diff --git a/scripts/react.js b/scripts/react.js index 071b94e..68f86a5 100644 --- a/scripts/react.js +++ b/scripts/react.js @@ -9,7 +9,7 @@ require('babel-register')({ const React = require('react'); const ReactDOM = require('react-dom/server'); -const {Navigation} = require('../lib/browser/navigation/index.jsx'); +const {Navigation} = require('../lib/browser/navigation/navigation.jsx'); const components = { Navigation };