Toast notifications for memory mutations, slide-in animation

This commit is contained in:
Hermes
2026-04-09 21:33:47 -05:00
parent 6e7fae8031
commit 0b0881074a
4 changed files with 89 additions and 4 deletions
+6 -1
View File
@@ -2,6 +2,7 @@
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { useState } from "react";
import { ToastProvider } from "@/components/Toast";
export function Providers({ children }: { children: React.ReactNode }) {
const [client] = useState(
@@ -12,5 +13,9 @@ export function Providers({ children }: { children: React.ReactNode }) {
},
})
);
return <QueryClientProvider client={client}>{children}</QueryClientProvider>;
return (
<QueryClientProvider client={client}>
<ToastProvider>{children}</ToastProvider>
</QueryClientProvider>
);
}