Toast on error generating token (#88)

This commit is contained in:
Neil Dwyer
2024-08-15 11:30:03 -07:00
committed by GitHub
parent 4622657c65
commit 3856f0cacc
4 changed files with 45 additions and 12 deletions

View File

@@ -1,10 +1,12 @@
import { CloudProvider } from "@/cloud/useCloud";
import "@/styles/globals.css";
import type { AppProps } from "next/app";
import { Toaster } from "react-hot-toast";
export default function App({ Component, pageProps }: AppProps) {
return (
<CloudProvider>
<Toaster />
<Component {...pageProps} />
</CloudProvider>
);}