rm lib/component

This commit is contained in:
tmshv committed 2019-10-14 17:44:03 +03:00
1 parent f3b20b88f6
commit c77dc74965
1 file changed
-15
-15
View File
@@ -1,15 +0,0 @@
import React from 'react'
import {renderToStaticMarkup} from 'react-dom/server'
import App from '../components/App'
function renderApp({component, ...options}) {
const app = (
<App {...options}>
{component}
</App>
)
return renderToStaticMarkup(app)
}
exports.renderApp = renderApp