更新至0.5.0_20251123版本

This commit is contained in:
2025-11-23 22:01:49 +08:00
parent 7487be2bb5
commit b53183e931
5 changed files with 179 additions and 85 deletions

View File

@@ -1,6 +1,8 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import { ErrorBoundary } from './components/ErrorBoundary';
const rootElement = document.getElementById('root');
if (!rootElement) {
@@ -10,7 +12,9 @@ if (!rootElement) {
const root = ReactDOM.createRoot(rootElement);
root.render(
<React.StrictMode>
<App />
<ErrorBoundary>
<App />
</ErrorBoundary>
</React.StrictMode>
);