feat: add Toaster component for notifications

This commit is contained in:
icarus 2025-12-14 16:15:05 +08:00
parent 1bd36a1c14
commit 2f13779b24
No known key found for this signature in database
GPG Key ID: D4AF089AAEC25D18

View File

@ -1,5 +1,6 @@
import '@renderer/databases'
import { Toaster } from '@cherrystudio/ui'
import { preferenceService } from '@data/PreferenceService'
import { loggerService } from '@logger'
import store, { persistor } from '@renderer/store'
@ -43,6 +44,7 @@ function App(): React.ReactElement {
<PersistGate loading={null} persistor={persistor}>
<TopViewContainer>
<Router />
<Toaster />
</TopViewContainer>
</PersistGate>
</CodeStyleProvider>