Flexibility changes with App, main.hbs
This commit is contained in:
1 parent
be84058aba
commit
7bc34f9710
6 files changed
+25
-10
No files matched your search
@@ -3,9 +3,9 @@ import {renderToStaticMarkup} from 'react-dom/server'
|
||||
|
||||
const App = require('../components/App')
|
||||
|
||||
function renderApp({menu, component}) {
|
||||
function renderApp({component, ...options}) {
|
||||
const app = (
|
||||
<App menu={menu}>
|
||||
<App {...options}>
|
||||
{component}
|
||||
</App>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user