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.
This commit is contained in:
16
src/App.tsx
Normal file
16
src/App.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { useEffect } from 'react';
|
||||
import { HashRouter } from 'react-router-dom';
|
||||
import { AppRouter } from './router';
|
||||
import { initSettingsStore } from './stores';
|
||||
|
||||
export default function App() {
|
||||
useEffect(() => {
|
||||
void initSettingsStore();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<HashRouter>
|
||||
<AppRouter />
|
||||
</HashRouter>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user