added new packages

This commit is contained in:
2023-04-29 20:30:57 -05:00
parent 82cf090806
commit a9ca98c0bb
3 changed files with 224 additions and 11 deletions

View File

@@ -1,9 +1,16 @@
import { type AppType } from "next/dist/shared/lib/utils";
import { Toaster } from "react-hot-toast";
import { RootLayout } from "~/components/RootLayout";
import "~/styles/globals.css";
const MyApp: AppType = ({ Component, pageProps }) => {
return <Component {...pageProps} />;
return (
<RootLayout>
<Toaster position="top-center" />
<Component {...pageProps} />
</RootLayout>
);
};
export default MyApp;