1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-21 23:00:50 +03:00

Serve the SPA by the server

This commit is contained in:
Quentin Gliech
2022-11-18 13:09:10 +01:00
parent 6021aa691c
commit 933022850b
18 changed files with 581 additions and 45 deletions

View File

@@ -12,14 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import React, { lazy } from "react";
import React from "react";
import ReactDOM from "react-dom/client";
import { RelayEnvironmentProvider } from "react-relay";
import LoadingScreen from "./components/LoadingScreen";
import RelayEnvironment from "./RelayEnvironment";
const Router = lazy(() => import("./Router"));
import Router from "./Router";
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>