redash/client/app/index.js
Levko Kravets bdd3c3e735
Dynamically register frontend routes (#4998)
* Allow to override frontend routes

* Configure app before initializing ApplicationArea

* Refine code
2020-06-25 13:38:23 +03:00

12 lines
322 B
JavaScript

import React from "react";
import ReactDOM from "react-dom";
import "@/config";
import ApplicationArea from "@/components/ApplicationArea";
import offlineListener from "@/services/offline-listener";
ReactDOM.render(<ApplicationArea />, document.getElementById("application-root"), () => {
offlineListener.init();
});