typescript

This commit is contained in:
2025-11-13 01:07:55 +01:00
parent b812d748ea
commit ada089c05b
147 changed files with 7427 additions and 2534 deletions
+23
View File
@@ -0,0 +1,23 @@
import '@fontsource/inter/400.css';
import React from 'react';
import { createRoot } from 'react-dom/client';
import { HashRouter } from 'react-router-dom';
import './styles/index.css';
import { AppStateProvider } from './app/appState';
import AppRouter from './app/AppRouter';
const container = document.getElementById('app');
if (!container) {
throw new Error('App root element #app not found');
}
const root = createRoot(container);
root.render(
<AppStateProvider>
<HashRouter hashType="hashbang">
<AppRouter />
</HashRouter>
</AppStateProvider>,
);