mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-21 14:47:41 +01:00
Merge branch 'v4' of https://github.com/movie-web/movie-web into thumbnails
This commit is contained in:
commit
e470c589b3
1 changed files with 3 additions and 1 deletions
|
@ -8,13 +8,14 @@ import { registerSW } from "virtual:pwa-register";
|
||||||
import { ErrorBoundary } from "@/components/layout/ErrorBoundary";
|
import { ErrorBoundary } from "@/components/layout/ErrorBoundary";
|
||||||
import App from "@/setup/App";
|
import App from "@/setup/App";
|
||||||
import { conf } from "@/setup/config";
|
import { conf } from "@/setup/config";
|
||||||
|
import i18n from "@/setup/i18n";
|
||||||
|
|
||||||
import "@/setup/ga";
|
import "@/setup/ga";
|
||||||
import "@/setup/sentry";
|
import "@/setup/sentry";
|
||||||
import "@/setup/i18n";
|
|
||||||
import "@/setup/index.css";
|
import "@/setup/index.css";
|
||||||
import "@/backend";
|
import "@/backend";
|
||||||
import { initializeChromecast } from "./setup/chromecast";
|
import { initializeChromecast } from "./setup/chromecast";
|
||||||
|
import { SettingsStore } from "./state/settings/store";
|
||||||
import { initializeStores } from "./utils/storage";
|
import { initializeStores } from "./utils/storage";
|
||||||
|
|
||||||
// initialize
|
// initialize
|
||||||
|
@ -30,6 +31,7 @@ registerSW({
|
||||||
|
|
||||||
const LazyLoadedApp = React.lazy(async () => {
|
const LazyLoadedApp = React.lazy(async () => {
|
||||||
await initializeStores();
|
await initializeStores();
|
||||||
|
i18n.changeLanguage(SettingsStore.get().language ?? "en");
|
||||||
return {
|
return {
|
||||||
default: App,
|
default: App,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue