-import { Component } from "inferno";\r
-import { hydrate } from 'inferno-hydrate';\r
-import { BrowserRouter } from "inferno-router";\r
-import App from "./components/App/App";\r
-import { initDevTools } from "inferno-devtools";\r
-\r
-declare global {\r
- interface Window { \r
- isoData: {\r
- name: string,\r
- }\r
- }\r
-}\r
-\r
-const wrapper = (\r
- <BrowserRouter>\r
- <App name={window.isoData.name}/>\r
- </BrowserRouter>\r
-);\r
-initDevTools();\r
-hydrate(wrapper, document.getElementById("root"));\r
+import { hydrate } from 'inferno-hydrate';
+import { BrowserRouter } from 'inferno-router';
+import { App } from '../shared/components/app';
+
+const wrapper = (
+ <BrowserRouter>
+ <App site={window.isoData.site} />
+ </BrowserRouter>
+);
+
+hydrate(wrapper, document.getElementById('root'));