update files-state, add toast, add zustand
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
'use client';
|
||||
|
||||
import { Toaster } from 'sonner';
|
||||
|
||||
export function ToastProvider() {
|
||||
return (
|
||||
<Toaster
|
||||
position="bottom-left"
|
||||
expand={false}
|
||||
richColors
|
||||
closeButton={false}
|
||||
duration={1000}
|
||||
visibleToasts={3}
|
||||
gap={12}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user