import { hydrate } from "inferno-hydrate"; import { BrowserRouter } from "inferno-router"; import { App } from "../shared/components/app/app"; import { initializeSite } from "../shared/utils"; import "bootstrap/js/dist/collapse"; import "bootstrap/js/dist/dropdown"; const site = window.isoData.site_res; initializeSite(site); const wrapper = ( ); const root = document.getElementById("root"); if (root) { hydrate(wrapper, root); }