v3: added localization, use global player for uploaded audio/video files
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { I18nProvider } from "@lingui/react";
|
||||
|
||||
import App from "./App.tsx";
|
||||
import { i18n, loadCatalog } from "./i18n.ts";
|
||||
|
||||
import "./index.css";
|
||||
|
||||
await loadCatalog();
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
<I18nProvider i18n={i18n}>
|
||||
<App />
|
||||
</I18nProvider>
|
||||
</StrictMode>,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user