2025-12-11 10:40:55 +01:00
|
|
|
/*
|
2026-01-12 15:00:36 +01:00
|
|
|
* Copyright (c) 2026 by Christian Kellner.
|
2025-12-11 10:40:55 +01:00
|
|
|
* Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause
|
|
|
|
|
*/
|
|
|
|
|
|
2021-01-21 16:09:23 +01:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
|
|
import { HashRouter } from 'react-router-dom';
|
2022-12-19 21:10:00 +01:00
|
|
|
import { createRoot } from 'react-dom/client';
|
2023-03-20 08:52:13 +01:00
|
|
|
import en_US from '@douyinfe/semi-ui/lib/es/locale/source/en_US';
|
|
|
|
|
import { LocaleProvider } from '@douyinfe/semi-ui';
|
2025-09-03 09:45:09 +02:00
|
|
|
import App from './App';
|
|
|
|
|
import './Index.less';
|
2023-03-20 08:52:13 +01:00
|
|
|
|
2022-12-19 21:10:00 +01:00
|
|
|
const container = document.getElementById('fredy');
|
|
|
|
|
const root = createRoot(container);
|
2021-01-21 16:09:23 +01:00
|
|
|
|
2022-12-19 21:10:00 +01:00
|
|
|
root.render(
|
2025-09-18 20:09:11 +02:00
|
|
|
<HashRouter>
|
|
|
|
|
<LocaleProvider locale={en_US}>
|
|
|
|
|
<App />
|
|
|
|
|
</LocaleProvider>
|
|
|
|
|
</HashRouter>,
|
2021-01-21 16:09:23 +01:00
|
|
|
);
|