支持用户换头像
This commit is contained in:
16
src/App.tsx
16
src/App.tsx
@@ -1,10 +1,24 @@
|
||||
import { RouterProvider } from 'react-router-dom';
|
||||
import { Toaster } from 'sonner';
|
||||
import { router } from './routes';
|
||||
|
||||
function App() {
|
||||
console.log("App rendering"); // 添加日志
|
||||
return (
|
||||
<RouterProvider router={router} />
|
||||
<>
|
||||
<RouterProvider router={router} />
|
||||
<Toaster
|
||||
position="top-center"
|
||||
richColors
|
||||
toastOptions={{
|
||||
style: {
|
||||
fontSize: '14px',
|
||||
fontWeight: '500',
|
||||
},
|
||||
}}
|
||||
theme="light"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user