Improve toast notifications and document clearing flow

- Enhanced Toaster component with theme, close button and rich colors
    - Added immediate feedback for document clearing operation
This commit is contained in:
yangdx
2025-04-01 15:44:36 +08:00
parent d653711969
commit 4bb22046e0
2 changed files with 24 additions and 20 deletions

View File

@@ -80,7 +80,12 @@ const AppRouter = () => {
<ThemeProvider>
<Router>
<AppContent />
<Toaster position="bottom-center" />
<Toaster
position="bottom-center"
theme="system"
closeButton
richColors
/>
</Router>
</ThemeProvider>
)