Files
suwayomi-material-you-webui/src/index.tsx

30 lines
896 B
TypeScript
Raw Normal View History

/*
* Copyright (C) Contributors to the Suwayomi project
*
* This Source Code Form is subject to the terms of the Mozilla Public
2021-01-26 23:32:12 +03:30
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
2021-01-26 23:32:12 +03:30
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import '@/index.css';
import '@/polyfill.manual';
import { initializeLocalization } from '@/i18n';
2025-07-27 00:03:51 +02:00
import '@/lib/dayjs/Setup.ts';
2025-10-11 00:39:44 +02:00
import '@/lib/koration/Setup.ts';
import '@/lib/PointerDeviceUtil.ts';
2025-10-11 00:39:44 +02:00
import { App } from '@/App';
import { defaultPromiseErrorHandler } from '@/lib/DefaultPromiseErrorHandler.ts';
initializeLocalization().catch(defaultPromiseErrorHandler('i18n', true));
2024-05-02 22:14:34 +02:00
const container = document.getElementById('root');
const root = createRoot(container!);
root.render(
<StrictMode>
2020-12-24 16:50:50 +01:00
<App />
</StrictMode>,
);