2020-09-01 14:51:59 +00:00
|
|
|
import React from "react";
|
|
|
|
import ReactDom from "react-dom";
|
2020-09-10 18:04:03 +00:00
|
|
|
import i18n from "./i18n";
|
2020-08-04 12:59:41 +00:00
|
|
|
|
2020-10-06 08:25:38 +00:00
|
|
|
import init from "./context/auth/keycloak";
|
2020-12-02 13:37:40 +00:00
|
|
|
import { KeycloakAdminConsole } from "./KeycloakAdminConsole";
|
2020-08-04 12:59:41 +00:00
|
|
|
|
2020-09-10 18:04:03 +00:00
|
|
|
console.info("supported languages", ...i18n.languages);
|
2020-11-12 12:55:52 +00:00
|
|
|
|
|
|
|
init().then((adminClient) => {
|
2020-08-04 12:59:41 +00:00
|
|
|
ReactDom.render(
|
2020-12-02 13:37:40 +00:00
|
|
|
<KeycloakAdminConsole adminClient={adminClient} />,
|
2020-09-01 14:51:59 +00:00
|
|
|
document.getElementById("app")
|
2020-08-04 12:59:41 +00:00
|
|
|
);
|
|
|
|
});
|