mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-01 08:36:38 +08:00
修改统一名称
This commit is contained in:
@@ -28,7 +28,7 @@ export function Provider({ children }: ProvidersProps) {
|
||||
<Toaster
|
||||
position="top-center"
|
||||
toastOptions={{
|
||||
duration: 3000,
|
||||
duration: 2000,
|
||||
className: 'dark:bg-gray-800 dark:text-white',
|
||||
style: {
|
||||
background: 'var(--toaster-bg, #ffffff)',
|
||||
@@ -36,12 +36,14 @@ export function Provider({ children }: ProvidersProps) {
|
||||
border: '1px solid var(--toaster-border, #e5e7eb)',
|
||||
},
|
||||
success: {
|
||||
duration: 2000,
|
||||
style: {
|
||||
background: '#10b981',
|
||||
color: '#ffffff',
|
||||
},
|
||||
},
|
||||
error: {
|
||||
duration: 2000,
|
||||
style: {
|
||||
background: '#ef4444',
|
||||
color: '#ffffff',
|
||||
|
||||
Reference in New Issue
Block a user