Files
zn-ai/src/main.tsx
DEV_DSW 79bea4f107 Refactor UUID generation, remove unused logger and encryption utilities, and clean up request handling
- Updated `generateUUID` function for improved readability and performance.
- Deleted `logger.ts`, `other.ts`, `request.ts`, `storage.ts`, `tansParams.ts`, and `validate.ts` as they were no longer needed.
- Simplified TypeScript configuration by removing unnecessary paths and aliases.
- Enhanced Vite configuration for better project structure and maintainability.
2026-04-17 15:38:08 +08:00

17 lines
349 B
TypeScript

import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import './styles.css';
const container = document.getElementById('app');
if (!container) {
throw new Error('Missing #app container for React entry.');
}
ReactDOM.createRoot(container).render(
<React.StrictMode>
<App />
</React.StrictMode>,
);